[libvirt] [PATCH 0/2] use qemu's dump-guest-meory when vm uses host device

Eric Blake eblake at redhat.com
Tue Apr 3 00:46:44 UTC 2012


On 04/02/2012 06:23 PM, Wen Congyang wrote:
>>
>> Why are we bothering with a text implementation?  We know that the
>> feature is only present if you have qemu 1.1 or later (assuming that
>> qemu-devel did apply your series adding the monitor command), and
>> therefore we know that we have QMP, so we should only implement this for
>> JSON and not bother with the text monitor.
>>
> 
> In most cases, the libvirt is built with json. But if the libvirt is built
> without json, we will use text monitor.

If libvirt is built without json, it will die a horrible death on any
qemu newer than 0.15, thanks to commit 6e769eba.  You can safely assume
that a qemu 1.1 feature implies that libvirt was compiled with json
support.  The _only_ situation that requires the text monitor is when
building libvirt for RHEL 5 where qemu is still stuck at 0.10 and where
JSON libraries do not exist.  I suspect no one will be backporting the
new dump-guest-monitor command to RHEL 5.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120402/67cb48df/attachment-0001.sig>


More information about the libvir-list mailing list