[libvirt] [PATCH 0/3] qemu: Don't call qemuMonitorGetCPUInfo to update vCPU halted state
Ján Tomko
jtomko at redhat.com
Mon Nov 21 15:56:01 UTC 2016
On Mon, Nov 21, 2016 at 04:30:07PM +0100, Peter Krempa wrote:
>The original implementation reused qemuMonitorGetCPUInfo to update the halted
>state. The function is very complex and should not be called all the time just
>to update a trivial parameter.
>
>Add infrastructure to properly update the state without the need to match in
>hotplug parameters.
>
>Peter Krempa (3):
> qemu: monitor: Extract qemu cpu id along with other data
> qemu: monitor: Extract halted state to a bitmap indexed by cpu id
> qemu: domain: Refresh vcpu halted state using qemuMonitorGetCpuHalted
>
> src/qemu/qemu_domain.c | 20 ++++++++------------
> src/qemu/qemu_domain.h | 1 +
> src/qemu/qemu_monitor.c | 40 ++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor.h | 3 +++
> src/qemu/qemu_monitor_json.c | 3 +++
> src/qemu/qemu_monitor_text.c | 11 +++++++++++
> tests/qemumonitorjsontest.c | 8 ++++----
> 7 files changed, 70 insertions(+), 16 deletions(-)
>
ACK series.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161121/6b3ab652/attachment-0001.sig>
More information about the libvir-list
mailing list