1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-26 16:26:02 +03:00

qemu: monitor: Remove qemuMonitorQueryBlockstats

Unused since v8.6.0-154-g75a0fbe420

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa
2025-09-11 15:28:34 +02:00
parent 96980df098
commit 74ca46972f
4 changed files with 1 additions and 21 deletions

View File

@@ -1967,21 +1967,6 @@ qemuMonitorGetBlockInfo(qemuMonitor *mon)
} }
/**
* qemuMonitorQueryBlockstats:
* @mon: monitor object
*
* Returns data from a call to 'query-blockstats' without using 'query-nodes'
*/
virJSONValue *
qemuMonitorQueryBlockstats(qemuMonitor *mon)
{
QEMU_CHECK_MONITOR_NULL(mon);
return qemuMonitorJSONQueryBlockstats(mon, false);
}
/** /**
* qemuMonitorGetAllBlockStatsInfo: * qemuMonitorGetAllBlockStatsInfo:
* @mon: monitor object * @mon: monitor object

View File

@@ -677,8 +677,6 @@ int qemuMonitorSetMemoryStatsPeriod(qemuMonitor *mon,
int qemuMonitorBlockIOStatusToError(const char *status); int qemuMonitorBlockIOStatusToError(const char *status);
GHashTable *qemuMonitorGetBlockInfo(qemuMonitor *mon); GHashTable *qemuMonitorGetBlockInfo(qemuMonitor *mon);
virJSONValue *qemuMonitorQueryBlockstats(qemuMonitor *mon);
typedef struct _qemuBlockStats qemuBlockStats; typedef struct _qemuBlockStats qemuBlockStats;
struct _qemuBlockStats { struct _qemuBlockStats {
unsigned long long rd_req; unsigned long long rd_req;

View File

@@ -2463,7 +2463,7 @@ qemuMonitorJSONGetOneBlockStatsNodeInfo(virJSONValue *dev,
} }
virJSONValue * static virJSONValue *
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon, qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
bool queryNodes) bool queryNodes)
{ {

View File

@@ -91,9 +91,6 @@ int
qemuMonitorJSONGetBlockInfo(qemuMonitor *mon, qemuMonitorJSONGetBlockInfo(qemuMonitor *mon,
GHashTable *table); GHashTable *table);
virJSONValue *
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
bool queryNodes);
int int
qemuMonitorJSONGetAllBlockStatsInfo(qemuMonitor *mon, qemuMonitorJSONGetAllBlockStatsInfo(qemuMonitor *mon,
GHashTable *hash); GHashTable *hash);