[libvirt] [PATCH 0/7] Add APIs for individual vCPU state modification using the guest agent

Peter Krempa pkrempa at redhat.com
Mon Jun 20 14:34:14 UTC 2016


As a first step, add the guest-agent part. The real hotplug stuff will follow
shortly. Please note that the setter API will be used as template for the real
stuff too.

Peter Krempa (7):
  rpcgen: Add support for generating funcs returning alloc'd typed
    params
  lib: Add API to query guest vcpu info using guest agent
  lib: Add API to set individual vcpu usage in the guest via guest agent
  virsh: Add command 'guestvcpus' implementing virDomain(GS)etGuestVcpus
  qemu: agent: Make setting of vcpus more robust
  qemu: Implement virDomainGetGuestVcpus
  qemu: Implement virDomainSetGuestVcpus

 include/libvirt/libvirt-domain.h |  10 ++
 src/driver-hypervisor.h          |  14 +++
 src/libvirt-domain.c             | 105 ++++++++++++++++++++
 src/libvirt_public.syms          |   2 +
 src/qemu/qemu_agent.c            |  83 +++++++++++++---
 src/qemu/qemu_agent.h            |   2 +
 src/qemu/qemu_driver.c           | 210 ++++++++++++++++++++++++++++++++++++---
 src/remote/remote_driver.c       |   2 +
 src/remote/remote_protocol.x     |  39 +++++++-
 src/remote_protocol-structs      |  18 ++++
 src/rpc/gendispatch.pl           |  45 ++++++++-
 tests/qemuagenttest.c            |  44 ++++----
 tools/virsh-domain.c             |  93 +++++++++++++++++
 tools/virsh.pod                  |  10 ++
 14 files changed, 625 insertions(+), 52 deletions(-)

-- 
2.8.3




More information about the libvir-list mailing list