Re: [libvirt] [PATCH] qemu: clear vcpupin when unhotplug vcpu

2019-09-19 Thread Peter Krempa
On Thu, Sep 19, 2019 at 04:01:54 -0400, Xu Yandong wrote: > step1: hotplug vcpus > step2: pin vcpus > step3: unhotplug vcpus > As a result, vcpu pin info still show up in xml. > So we need clear it. > > Signed-off-by: Xu Yandong > --- The idea is that you can pre-configure the vcpu pinning info

[libvirt] [PATCH] qemu: clear vcpupin when unhotplug vcpu

2019-09-19 Thread Xu Yandong
step1: hotplug vcpus step2: pin vcpus step3: unhotplug vcpus As a result, vcpu pin info still show up in xml. So we need clear it. Signed-off-by: Xu Yandong --- src/qemu/qemu_hotplug.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c inde