| Submitter | Tomoki Sekiyama |
|---|---|
| Date | Feb. 14, 2013, 6:10 a.m. |
| Message ID | <20130214061054.15062.65156.stgit@melchior2.sdl.hitachi.co.jp> |
| Download | mbox | patch |
| Permalink | /patch/220380/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/QMP/qemu-ga-client b/QMP/qemu-ga-client index 46676c3..1f7011a 100755 --- a/QMP/qemu-ga-client +++ b/QMP/qemu-ga-client @@ -267,7 +267,9 @@ def main(address, cmd, args): print('Hint: qemu is not running?') sys.exit(1) - if cmd != 'ping': + if cmd == 'fsfreeze' and args[0] == 'freeze': + client.sync(30) + elif cmd != 'ping': client.sync() globals()['_cmd_' + cmd](client, args)
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 30 seconds. Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> --- QMP/qemu-ga-client | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)