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:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -2463,7 +2463,7 @@ qemuMonitorJSONGetOneBlockStatsNodeInfo(virJSONValue *dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
virJSONValue *
|
static virJSONValue *
|
||||||
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
|
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
|
||||||
bool queryNodes)
|
bool queryNodes)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user