aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorBasil Salman <bsalman@redhat.com>2019-10-17 15:34:38 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2019-11-04 08:50:54 -0600
commit28d8dd355be98da6239bd5569721980c833df6a1 (patch)
treea170a780681b0ef52a2405033426a7ec155b2a8c /qga/commands-posix.c
parenta18025f9ac56aafdbb4ac08fdf5ef7c46a3baf34 (diff)
downloadqemu-28d8dd355be98da6239bd5569721980c833df6a1.zip
qemu-28d8dd355be98da6239bd5569721980c833df6a1.tar.gz
qemu-28d8dd355be98da6239bd5569721980c833df6a1.tar.bz2
qga: Add "guest-get-memory-block-info" to blacklist
Memory block commands are only supported for linux with sysfs, "guest-get-memory-block-info" was not in blacklist for other cases. Reported on: https://bugzilla.redhat.com/show_bug.cgi?id=1751431 Signed-off-by: Basil Salman <bsalman@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-posix.c')
-rw-r--r--qga/commands-posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index dfc05f5..1c1a165 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -2730,7 +2730,8 @@ GList *ga_command_blacklist_init(GList *blacklist)
"guest-suspend-hybrid", "guest-network-get-interfaces",
"guest-get-vcpus", "guest-set-vcpus",
"guest-get-memory-blocks", "guest-set-memory-blocks",
- "guest-get-memory-block-size", NULL};
+ "guest-get-memory-block-size", "guest-get-memory-block-info",
+ NULL};
char **p = (char **)list;
while (*p) {