On 06/07/13 15:10, Daniel P. Berrange wrote:
On Wed, Jun 05, 2013 at 03:43:55PM +0200, Peter Krempa wrote:
> The qemu guest agent allows to online and offline CPUs from the
> perspective of the guest. This patch adds helpers that call
> 'guest-get-vcpus' and 'guest-set-vcpus' guest agent functions and
> convert the data for internal libvirt usage.
> ---
> src/qemu/qemu_agent.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_agent.h | 12 ++++
> 2 files changed, 160 insertions(+)
Again, extra bonus points if you create a qemuagenttest.c test case,
copying the approach from qemumonitorjsontest.c
I will follow up with the tests in the posting of the rest of this
series later. Pushed. Thanks.
Daniel
Peter