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

Today, qemu-ga may not be able to emit a success response when
guest-shutdown 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-shutdown 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