
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@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org