On Tue, Oct 4, 2011 at 7:42 PM, Jason Brian Friedrich <mail@friedrich.org.uk> wrote:
Hey Trey,

just a quick update. If you add the CR repo for CentOS 6.0 you will
get an updated RPM which solves the problem for me.

 - Jason

On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf <treydock@gmail.com> wrote:
>
>
> On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich
> <mail@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@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@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
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
>
_______________________________________________
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt

Awesome thanks for the info!  

Unfortunately I hit a new error, very related it seems to the original problem, but then I get this error....
-----------
# virsh snapshot-create CentOSVM_0
error: operation failed: failed to take snapshot using command 'savevm "1317846732"'



In full debug output I see it failover to HMP, but this is what appears to be the relevant debug info.  If the full debug is desired let me know (it's like 1000 lines long spanning 1 second)
---------------
15:27:12.473: 8080: debug : qemuMonitorJSONIOProcessLine:116 : Line [{"error": {"class": "CommandNotFound", "desc": "The command human-monitor-command has not been found", "data": {"name": "human-monitor-command"}}}]
15:27:12.473: 8080: debug : virJSONValueFromString:933 : string={"error": {"class": "CommandNotFound", "desc": "The command human-monitor-command has not been found", "data": {"name": "human-monitor-command"}}}


This was with libvirt-0.8.7-18.el6_1.1 from CentOS 6 CR.  I restarted the libvirtd daemon after the upgrade, still same result.  Restarted the VM also , still same.  I only updated libvirt, libvirt-client and libvirt-python from CR, haven't done a full system update.  I'll try the full update next, but any suggestions are welcome in the mean time.

Thanks
- Trey