]> git.proxmox.com Git - mirror_qemu.git/commit - qga/qapi-schema.json
qemu-ga: guest-suspend-disk: don't emit a success response
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 8 May 2012 17:24:47 +0000 (14:24 -0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 15 May 2012 14:15:16 +0000 (09:15 -0500)
commitc6fcc10ab31d22e93eb169c451025ac9636ec84b
treeeca287f4386d0fcd5c31c123e8cca0519d4e5b98
parent8926817219d18403e04625afddd29e6ad25c3162
qemu-ga: guest-suspend-disk: don't emit a success response

Today, qemu-ga may not be able to emit a success response when
guest-suspend-disk completes. This happens because the VM may
vanish before qemu-ga is able to emit a response.

This semantic is a bit confusing, as it's not clear for clients if
they should wait for a response or how they should check for success.

This commit solves that problem by changing guest-suspend-disk to
never emit a success response and suggests in the documentation
what clients could do to check for success.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qapi-schema-guest.json