[PATCH 2/2] qemu: Add some cpu hotpluggable inforamtion in vm xml when run "virsh setvcpus vm --count --config".

2020-04-09 Thread Jidong Xia
when run "virsh setvcpus vm --count --config", and destroy vm, then start vm, it can display cpu hotpluggable information when run "virsh dumpxml vm | grep vcpu". so we can know the value of enabled and hotpluggable attributes of the current vcpus. Signed-off-by: Jidon

[PATCH 1/2] qemu: Add some cpu hotpluggable inforamtion in vm xml when run "virsh setvcpus vm --count --live".

2020-04-09 Thread Jidong Xia
uot;. so we can know the value of enabled and hotpluggable attributes of the current vcpus. Signed-off-by: Jidong Xia --- src/qemu/qemu_hotplug.c | 4 1 file changed, 4 insertions(+) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index 14654a1..c574f63 100644 --- a/src/qemu/qemu

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

2020-04-09 Thread Jidong Xia
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 " with --live or --config, we can see some cpu information in vm xml. Jidong Xia (1): qemu: Ad

Re: [libvirt] [PATCH v2] qemu: cold-unplug of sound

2019-12-09 Thread Jidong Xia
On 12/8/19 4:43 PM, Cole Robinson wrote: On 11/29/19 4:40 AM, Jidong Xia wrote: With this patch users can cold unplug some sound devices. use "virsh detach-device vm sound.xml --config" command. Signed-off-by: Jidong Xia --- src/conf/domain_con

[libvirt] [PATCH v2] qemu: cold-unplug of sound

2019-11-29 Thread Jidong Xia
With this patch users can cold unplug some sound devices. use "virsh detach-device vm sound.xml --config" command. Signed-off-by: Jidong Xia --- src/conf/domain_conf.c | 48 src/conf/domain_conf.h | 3 +++ src/libvirt_private

Re: [libvirt] [PATCH 2/2] qemu: cold-unplug of sound

2019-11-24 Thread Jidong Xia
On 11/14/19 5:52 AM, Cole Robinson wrote: On 10/15/19 2:41 AM, Jidong Xia wrote: With this patch users can cold unplug some sound devices. use "virsh detach-device vm sound.xml --config" command. I reviewed and pushed patch #1 Some comments below Signed-off-by: Jidong Xia ---

[libvirt] [PATCH 1/2] qemu: cold-plug of sound

2019-10-15 Thread Jidong Xia
With this patch users can cold plug some sound devices. use "virsh attach-device vm sound.xml --config" command. Consider the following sound.xml for a domain: Signed-off-by: Jidong Xia --- src/qemu/qemu_driver.c | 9 - 1 file changed, 8 insertions(+),

[libvirt] [PATCH 0/2] qemu: cold-plug and cold-unplug of sound

2019-10-15 Thread Jidong Xia
With this patch users can cold plug and unplug some sound devices. Jidong Xia (2): qemu: cold-plug of sound qemu: cold-unplug of sound src/conf/domain_conf.c | 61 src/conf/domain_conf.h | 2 ++ src/libvirt_private.syms | 2 ++ src/qemu

[libvirt] [PATCH 2/2] qemu: cold-unplug of sound

2019-10-15 Thread Jidong Xia
With this patch users can cold unplug some sound devices. use "virsh detach-device vm sound.xml --config" command. Signed-off-by: Jidong Xia --- src/conf/domain_conf.c | 61 src/conf/domain_conf.h | 2 ++ src/libvirt_private