qemu-ga: make guest-sync-delimited available during fsfreeze
PATCH 1/1 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.
--- qga/main.c | 1 + 1 file changed, 1 insertion(+)
qga/main.c +1 -0
@@ -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
Signature · 1 line
1.7.9.5
Quoted 8 lines · Michael Roth
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.
Quoted 5 lines
Signed-off-by Michael Roth <[email protected]>--- qga/main.c | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
qga/main.c +1
-0@@ -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
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
mdroth
AppliedQuoted 10 lines · Michael Roth
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 <[email protected]>
Thanks, applied to qga branch.
Quoted 19 lines
--- qga/main.c | 1 + 1 file changed, 1 insertion(+)qga/main.c +1
-0@@ -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 Signature · 1 line
1.7.9.5