Re: [PATCH v3] qga: Correct loop count in qmp_guest_get_vcpus()

2020-11-24 Thread Peter Maydell
On Tue, 24 Nov 2020 at 14:12, Philippe Mathieu-Daudé wrote: > As we are going to tag 5.2-rc3, what is the status of this fix? 'git blame' says none of the code changed here is newer than 2018, so it seems unlikely that this is a regression since 5.1. rc3 is now ready to tag, so this is going to g

Re: [PATCH v3] qga: Correct loop count in qmp_guest_get_vcpus()

2020-11-24 Thread Philippe Mathieu-Daudé
Hi, On 11/20/20 1:33 PM, Marc-André Lureau wrote: > Hi > > On Fri, Nov 20, 2020 at 4:27 PM Lin Ma > wrote: > > The guest-get-vcpus returns incorrect vcpu info in case we hotunplug > vcpus(not > the last one). > e.g.: > A VM has 4 VCPUs: cpu0 + 3 hotunpl

Re: [PATCH v3] qga: Correct loop count in qmp_guest_get_vcpus()

2020-11-20 Thread Marc-André Lureau
Hi On Fri, Nov 20, 2020 at 4:27 PM Lin Ma wrote: > The guest-get-vcpus returns incorrect vcpu info in case we hotunplug > vcpus(not > the last one). > e.g.: > A VM has 4 VCPUs: cpu0 + 3 hotunpluggable online vcpus(cpu1, cpu2 and > cpu3). > Hotunplug cpu2, Now only cpu0, cpu1 and cpu3 are presen

[PATCH v3] qga: Correct loop count in qmp_guest_get_vcpus()

2020-11-20 Thread Lin Ma
The guest-get-vcpus returns incorrect vcpu info in case we hotunplug vcpus(not the last one). e.g.: A VM has 4 VCPUs: cpu0 + 3 hotunpluggable online vcpus(cpu1, cpu2 and cpu3). Hotunplug cpu2, Now only cpu0, cpu1 and cpu3 are present & online. ./qmp-shell /tmp/qmp-monitor.sock (QEMU) query-hotplu