Commit e2682db0 authored by Tomoki Sekiyama's avatar Tomoki Sekiyama Committed by Michael Roth
Browse files

QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command

guest-fsfreeze-freeze command can take longer than 3 seconds when heavy
disk I/O is running. To avoid unexpected timeout, this changes the timeout
to 60 seconds (timeout of pre-commit phase of VSS).
Signed-off-by: default avatarTomoki Sekiyama <>
Reviewed-by: default avatarPaolo Bonzini <>
Reviewed-by: default avatarLaszlo Ersek <>
Reviewed-by: default avatarMichael Roth <>
Signed-off-by: default avatarMichael Roth <>
parent f311f2c2
......@@ -267,7 +267,9 @@ def main(address, cmd, args):
print('Hint: qemu is not running?')
if cmd != 'ping':
if cmd == 'fsfreeze' and args[0] == 'freeze':
elif cmd != 'ping':
globals()['_cmd_' + cmd](client, args)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment