[libvirt] [PATCH 08/27] qemu: monitor: Add algorithm for combining query-(hotpluggable-)-cpus data

Pavel Hrdina phrdina at redhat.com
Thu Aug 11 14:01:45 UTC 2016


On Fri, Aug 05, 2016 at 03:56:04PM +0200, Peter Krempa wrote:
> For hotplug purposes it's necessary to retrieve data using
> query-hotpluggable-cpus while the old query-cpus API report thread IDs
> and order of hotplug.
> 
> This patch adds code that merges the data using a rather non-trivial
> algorithm and fills the data to the qemuMonitorCPUInfo structure for
> adding to appropriate place in the domain definition.
> ---
>  src/qemu/qemu_domain.c  |   2 +-
>  src/qemu/qemu_monitor.c | 197 ++++++++++++++++++++++++++++++++++++++++++++++--
>  src/qemu/qemu_monitor.h |  23 +++++-
>  3 files changed, 212 insertions(+), 10 deletions(-)

ACK with the debug message fixed.




More information about the libvir-list mailing list