qga-win: Enable 'can-offline' field in 'guest-get-vcpus' reply
commit54858553def1879a3b0781529fb12a028ba36713
authorSameeh Jubran <sameeh@daynix.com>
Tue, 11 Apr 2017 12:52:05 +0000 (11 15:52 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Apr 2017 04:56:47 +0000 (26 23:56 -0500)
tree402cd4bc805c7b59ec00a82e451ee1eedbc4ee03
parentf342cc93ec918d684e8a6f6e646551a9c7fbc019
qga-win: Enable 'can-offline' field in 'guest-get-vcpus' reply

The QGA schema states:

@can-offline: Whether offlining the VCPU is possible. This member
               is always filled in by the guest agent when the structure
               is returned, and always ignored on input (hence it can be
               omitted then).

Currently 'can-offline' is missing entirely from the reply. This causes
errors in libvirt which is expecting the reply to be compliant with the
schema docs.

BZ#1438735: https://bugzilla.redhat.com/show_bug.cgi?id=1438735

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-win32.c