mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-11-25 12:27:39 +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:
|
||||
* @mon: monitor object
|
||||
|
||||
@@ -677,8 +677,6 @@ int qemuMonitorSetMemoryStatsPeriod(qemuMonitor *mon,
|
||||
int qemuMonitorBlockIOStatusToError(const char *status);
|
||||
GHashTable *qemuMonitorGetBlockInfo(qemuMonitor *mon);
|
||||
|
||||
virJSONValue *qemuMonitorQueryBlockstats(qemuMonitor *mon);
|
||||
|
||||
typedef struct _qemuBlockStats qemuBlockStats;
|
||||
struct _qemuBlockStats {
|
||||
unsigned long long rd_req;
|
||||
|
||||
@@ -2463,7 +2463,7 @@ qemuMonitorJSONGetOneBlockStatsNodeInfo(virJSONValue *dev,
|
||||
}
|
||||
|
||||
|
||||
virJSONValue *
|
||||
static virJSONValue *
|
||||
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
|
||||
bool queryNodes)
|
||||
{
|
||||
|
||||
@@ -91,9 +91,6 @@ int
|
||||
qemuMonitorJSONGetBlockInfo(qemuMonitor *mon,
|
||||
GHashTable *table);
|
||||
|
||||
virJSONValue *
|
||||
qemuMonitorJSONQueryBlockstats(qemuMonitor *mon,
|
||||
bool queryNodes);
|
||||
int
|
||||
qemuMonitorJSONGetAllBlockStatsInfo(qemuMonitor *mon,
|
||||
GHashTable *hash);
|
||||
|
||||
Reference in New Issue
Block a user