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
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
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
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
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
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
---
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(+),
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
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