[PATCH 0/2] qemu: Add some cpu hotpluggable infomation when run "virsh setvcpus command"

Jidong Xia xiajidong at cmss.chinamobile.com
Thu Apr 9 12:38:46 UTC 2020


The optional cpu attribute current can be used to specify whether
fewer than the maximum number of virtual CPUs should be enabled.
With this patch, when run "virsh setvcpus vm --count <current>" 
with --live or --config, we can see some cpu information in vm xml.

Jidong Xia (1):
  qemu: Add some cpu hotpluggable inforamtion in vm xml when run
    "virsh setvcpus vm --count <current> --config;virsh destroy vm;
    virsh start vm".

xiajidong (1):
  qemu: Add some cpu hotpluggable inforamtion in vm xml     when run
    "virsh setvcpus vm --count <current> --live".

 src/qemu/qemu_hotplug.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--
1.8.3.1







More information about the libvir-list mailing list