[libvirt-users] qemu-monitor-command
Eric Blake
eblake at redhat.com
Wed Mar 21 14:55:39 UTC 2012
On 03/21/2012 08:49 AM, Shawn Davis wrote:
> Hi Michal,
>
> Thanks for testing that for me.
>
> When I try to run the latter command which was:
>
> virsh qemu-monitor-command Shawn '{"execute":"pmemsave", "arguments":
> {"val":0, "size":536870912, "filename":"/tmp/testimage.dump"}}'
>
> I get:
>
> Unknown command: '{\"execute\":\"pmemsave\",'
>
> Any ideas?
Your qemu is old enough that it isn't running the QMP monitor, so you
can only pass HMP commands. It may be worth upgrading to a newer qemu.
>
> My versions are:
>
> Compiled against library: libvir 0.9.2
> Using library: libvir 0.9.2
> Using API: QEMU 0.9.2
> Running hypervisor: QEMU 0.14.1
I think we didn't turn on QMP until 0.15; and now 1.0 is out.
--
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/libvirt-users/attachments/20120321/ecbb2770/attachment.sig>
More information about the libvirt-users
mailing list