]> git.proxmox.com Git - qemu.git/commitdiff
qemu-ga: make guest-sync-delimited available during fsfreeze
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 1 Mar 2013 17:49:38 +0000 (11:49 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 11 Mar 2013 23:53:46 +0000 (18:53 -0500)
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>
qga/main.c

index db281a508be6d6adb3123a31574d4b4328e84604..ad751717fece6fd5132729698e3a178b001cf4c9 100644 (file)
@@ -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