This is a rebased and a bit improved version of the first posting of support
for cpu hotplug related stuff. Since nobody reviewed v1 I did't specify changes
to the previous version.
Peter Krempa (14):
virsh-domain-monitor: Remove ATTRIBUTE_UNUSED from a argument
qemu: Use bool instead of int in qemuMonitorSetCPU APIs
qemu: Extract more information about vCPUs and threads
qemu_agent: Introduce helpers for agent based CPU hot(un)plug
API: Introduce VIR_DOMAIN_VCPU_AGENT, for agent based CPU hot(un)plug
qemu: Implement request of vCPU state using the guest agent
qemu: Implement support for VIR_DOMAIN_VCPU in qemuDomainSetVcpusFlags
lib: Add API to map virtual cpus of a guest
virsh-domain-monitor: Implement command to map guest vCPUs
qemu: Implement virDomainGetVCPUMap for the qemu driver
qemu: Implement new QMP command for cpu hotplug
lib: Add API to modify vCPU state from the guest using the guest agent
virsh-domain: Implement command for virDomainSetGuestVcpu
qemu: Implement virDomainSetGuestVcpu in qemu driver
daemon/remote.c | 54 +++++
include/libvirt/libvirt.h.in | 26 +++
python/generator.py | 1 +
python/libvirt-override-api.xml | 7 +
python/libvirt-override.c | 66 ++++++
src/driver.h | 14 ++
src/libvirt.c | 153 ++++++++++++-
src/libvirt_public.syms | 7 +
src/qemu/qemu_agent.c | 148 +++++++++++++
src/qemu/qemu_agent.h | 12 ++
src/qemu/qemu_driver.c | 468 +++++++++++++++++++++++++++++++++++++---
src/qemu/qemu_monitor.c | 11 +-
src/qemu/qemu_monitor.h | 13 +-
src/qemu/qemu_monitor_json.c | 86 ++++++--
src/qemu/qemu_monitor_json.h | 4 +-
src/qemu/qemu_monitor_text.c | 94 ++++----
src/qemu/qemu_monitor_text.h | 4 +-
src/qemu/qemu_process.c | 63 ++++--
src/remote/remote_driver.c | 48 +++++
src/remote/remote_protocol.x | 31 ++-
src/remote_protocol-structs | 20 ++
tools/virsh-domain-monitor.c | 112 +++++++++-
tools/virsh-domain.c | 102 ++++++++-
tools/virsh.pod | 42 +++-
24 files changed, 1452 insertions(+), 134 deletions(-)
--
1.8.2.1