summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2013-03-01 11:49:38 -0600
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-03-11 18:53:46 -0500
commitc5dcb6ae23a3ed7a01bae1cd75ce02abea31db5e (patch)
tree09318f8e0377f0bf7a5eb230f2820002ee8a9fc4
parent9e7c23db13b23febac4ba2d22419aa8f1884929e (diff)
downloadfocaccia-qemu-c5dcb6ae23a3ed7a01bae1cd75ce02abea31db5e.tar.gz
focaccia-qemu-c5dcb6ae23a3ed7a01bae1cd75ce02abea31db5e.zip
qemu-ga: make guest-sync-delimited available during fsfreeze
We currently maintain a whitelist of commands that are safe during
fsfreeze. During fsfreeze, we disable all commands that aren't part of
that whitelist.

guest-sync-delimited meets the criteria for being whitelisted, and is
also required for qemu-ga clients that rely on guest-sync-delimited for
re-syncing the channel after a timeout.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r--qga/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/main.c b/qga/main.c
index db281a508b..ad751717fe 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -85,6 +85,7 @@ static const char *ga_freeze_whitelist[] = {
     "guest-ping",
     "guest-info",
     "guest-sync",
+    "guest-sync-delimited",
     "guest-fsfreeze-status",
     "guest-fsfreeze-thaw",
     NULL