[libvirt] [PATCH 1/2] qemu: Don't strictly require JSON monitor for vCPU detection

Ján Tomko jtomko at redhat.com
Mon Oct 3 15:35:19 UTC 2016


On Mon, Oct 03, 2016 at 01:32:46PM +0200, Peter Krempa wrote:
>Attaching to a existing qemu process allows to get us into a situation
>when qemu is new enough to have JSON monitor and new vCPU hotplug but
>the json monitor is not used. The vCPU detection code would require it
>though. This broke attaching to qemu processes.
>
>Make the condition less strict and just skip the vCPU hotplug detection
>if JSON monitor is not available.
>
>Resolves one of the symptoms in:
>https://bugzilla.redhat.com/show_bug.cgi?id=1378401
>---
> src/qemu/qemu_monitor.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

ACK

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/20161003/93e3973d/attachment-0001.sig>


More information about the libvir-list mailing list