[CentOS-virt] kvm-qemu: unable to execute QEMU command savevm (monitor missing?)

Mon Oct 3 23:43:37 UTC 2011
Trey Dockendorf <treydock at gmail.com>

On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich <
mail at friedrich.org.uk> wrote:

> System: CentOS Linux release 6.0 (final)
> Kernel: 2.6.32-71.23.1.el6.x86_64
> KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2)
> Libvirt: ibvirtd (libvirt) 0.8.1
>
>
> Hi everyone,
>
> I only recently subscribed to this list and hope you can shed some
> light on the following error. I created a VM on my Centos 6 KVM
> machine, used a qcow2 image and wanted to create a snapshot via 'virsh
> snapshot-create' command:
>
> //
> [root at kvmhost ~]# virsh snapshot-create server01
> error: internal error unable to execute QEMU command 'savevm': The
> command savevm has not been found
> \\
>
> I googled before the post, found some [0] threads [1], but could not
> find an answer how to solve the problem. If the kvm-qemu lacks the
> support of a savevm monitor, how can I add one? Do I need to recompile
> kvm-qemu with special flags or is simply a RPM package or a module
> missing?
>
> Thanks in advance,
>
>  - Jason
>
>
> [0] http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html
> [1]
> https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt


I ran into this too.  Unfortunately I haven't found a solution either, but
here's an interesting bug report that shows this effects all the way up to
Fedora 15,  https://bugzilla.redhat.com/show_bug.cgi?id=727709.  The one fix
mentioned 89241fe0, I've actually patched into the CentOS libvirt RPM, but
from testing it doesn't seem to be enough. I now can run the snapshot-create
command without error, but nothing appears to happen. I've tested creating
files, taking a snapshot, deleting files and reverting and nothing comes
back or changes. Also the qcow2 images don't change at all during this time
either. I'm working on applying the other commits mentioned in Comment #4,
but am running into problems since most of those commits are 0.9.0+ and I'm
patching CentOS's 0.8.1.

I'd love to know if anyone actually has snapshots working in CentOS 5 or 6.
This is kind of a critical feature to the entire virtualization process.

- Trey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20111003/8014410e/attachment-0005.html>