This is a initial support for guest-agent based cpu hotplug that was commited
in upstream qemu and should be released in qemu 1.5.0.

This patchset relies on the existing qemuDomainSetVcpusFlags API that is not
really ideal for this purpose but is usable. I'm planing on adding a
specific-cpu hotplug API later that will allow more control.

Peter Krempa (7):
  lib: Fix docs about return value of virDomainGetVcpusFlags()
  virsh-domain: Refactor cmdVcpucount and fix output on inactive domains
  qemu_agent: Add support for appending arrays to commands
  qemu_agent: Introduce helpers for agent based CPU hot(un)plug
  Introduce flag VIR_DOMAIN_VCPU agent, for agent based CPU
    unlpug(shutdown).
  qemu: Implement request of vCPU state using the guest agent
  qemu: Implement support for VIR_DOMAIN_VCPU in qemuDomainSetVcpusFlags

 include/libvirt/libvirt.h.in |   1 +
 src/libvirt.c                |   9 +-
 src/qemu/qemu_agent.c        | 141 +++++++++++++++++++++
 src/qemu/qemu_agent.h        |  12 ++
 src/qemu/qemu_driver.c       | 181 ++++++++++++++++++++++++---
 tools/virsh-domain.c         | 283 +++++++++++++++++++++----------------------
 tools/virsh.pod              |  13 +-
 7 files changed, 474 insertions(+), 166 deletions(-)

-- 
1.8.1.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to