[libvirt] [PATCH 4/8] qemu: monitor: Drop QEMU_CHECK_MONITOR_JSON... macros

Ján Tomko jtomko at redhat.com
Wed May 23 13:07:21 UTC 2018


On Wed, May 23, 2018 at 03:04:47PM +0200, Peter Krempa wrote:
>On Tue, May 22, 2018 at 15:24:06 +0200, Ján Tomko wrote:
>> On Tue, May 22, 2018 at 02:35:44PM +0200, Peter Krempa wrote:
>> > Monitor is now JSON only. Drop the old cruft.
>> >
>>
>> In theory, you should still be able to get a domain with a text monitor
>> via qemu-attach.
>>
>> In practice, attaching to such domains seems pointless - if we don't
>> support starting them, touching their mointor might just break them.
>
>I can leave the part of the macro that checks whether the monitor is
>JSON still in. That way it will at least report sane errors.
>

Sounds good to me.

Even with that change:
Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano

>> Maybe we should drop qemu-attach as well?
>
>I hope so, but it should be probably done separately.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180523/27ea70fc/attachment-0001.sig>


More information about the libvir-list mailing list