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

Jidong Xia posted 2 patches 4 years, 1 month ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200409124028.20938-1-xiajidong@cmss.chinamobile.com
src/qemu/qemu_hotplug.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
[PATCH 0/2] qemu: Add some cpu hotpluggable infomation when run "virsh setvcpus command"
Posted by Jidong Xia 4 years, 1 month ago
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