<br><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 7:42 PM, Jason Brian Friedrich <span dir="ltr">&lt;<a href="mailto:mail@friedrich.org.uk">mail@friedrich.org.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey Trey,<br>
<br>
just a quick update. If you add the CR repo for CentOS 6.0 you will<br>
get an updated RPM which solves the problem for me.<br>
<div class="im"><br>
 - Jason<br>
<br>
On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf &lt;<a href="mailto:treydock@gmail.com">treydock@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt; On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich<br>
&gt; &lt;<a href="mailto:mail@friedrich.org.uk">mail@friedrich.org.uk</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; System: CentOS Linux release 6.0 (final)<br>
&gt;&gt; Kernel: 2.6.32-71.23.1.el6.x86_64<br>
&gt;&gt; KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2)<br>
&gt;&gt; Libvirt: ibvirtd (libvirt) 0.8.1<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi everyone,<br>
&gt;&gt;<br>
&gt;&gt; I only recently subscribed to this list and hope you can shed some<br>
&gt;&gt; light on the following error. I created a VM on my Centos 6 KVM<br>
&gt;&gt; machine, used a qcow2 image and wanted to create a snapshot via &#39;virsh<br>
&gt;&gt; snapshot-create&#39; command:<br>
&gt;&gt;<br>
&gt;&gt; //<br>
&gt;&gt; [root@kvmhost ~]# virsh snapshot-create server01<br>
&gt;&gt; error: internal error unable to execute QEMU command &#39;savevm&#39;: The<br>
&gt;&gt; command savevm has not been found<br>
&gt;&gt; \\<br>
&gt;&gt;<br>
&gt;&gt; I googled before the post, found some [0] threads [1], but could not<br>
&gt;&gt; find an answer how to solve the problem. If the kvm-qemu lacks the<br>
&gt;&gt; support of a savevm monitor, how can I add one? Do I need to recompile<br>
&gt;&gt; kvm-qemu with special flags or is simply a RPM package or a module<br>
&gt;&gt; missing?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt;<br>
&gt;&gt;  - Jason<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; [0] <a href="http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html" target="_blank">http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html</a><br>
&gt;&gt; [1]<br>
&gt;&gt; <a href="https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html" target="_blank">https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; CentOS-virt mailing list<br>
&gt;&gt; <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
&gt;&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
&gt;<br>
&gt; I ran into this too.  Unfortunately I haven&#39;t found a solution either, but<br>
&gt; here&#39;s an interesting bug report that shows this effects all the way up to<br>
&gt; Fedora 15,  <a href="https://bugzilla.redhat.com/show_bug.cgi?id=727709" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=727709</a>.  The one fix<br>
&gt; mentioned 89241fe0, I&#39;ve actually patched into the CentOS libvirt RPM, but<br>
&gt; from testing it doesn&#39;t seem to be enough. I now can run the snapshot-create<br>
&gt; command without error, but nothing appears to happen. I&#39;ve tested creating<br>
&gt; files, taking a snapshot, deleting files and reverting and nothing comes<br>
&gt; back or changes. Also the qcow2 images don&#39;t change at all during this time<br>
&gt; either. I&#39;m working on applying the other commits mentioned in Comment #4,<br>
&gt; but am running into problems since most of those commits are 0.9.0+ and I&#39;m<br>
&gt; patching CentOS&#39;s 0.8.1.<br>
&gt; I&#39;d love to know if anyone actually has snapshots working in CentOS 5 or 6.<br>
&gt; This is kind of a critical feature to the entire virtualization process.<br>
&gt; - Trey<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CentOS-virt mailing list<br>
&gt; <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a></div></div></blockquote><div><br></div><div>Awesome thanks for the info!  </div><div>
<br></div><div>Unfortunately I hit a new error, very related it seems to the original problem, but then I get this error....</div><div>-----------</div><div><div># virsh snapshot-create CentOSVM_0</div><div>error: operation failed: failed to take snapshot using command &#39;savevm &quot;1317846732&quot;&#39;</div>
</div><div><br></div><div><br></div><div><br></div><div>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&#39;s like 1000 lines long spanning 1 second)</div>
<div>---------------</div><div><div>15:27:12.473: 8080: debug : qemuMonitorJSONIOProcessLine:116 : Line [{&quot;error&quot;: {&quot;class&quot;: &quot;CommandNotFound&quot;, &quot;desc&quot;: &quot;The command human-monitor-command has not been found&quot;, &quot;data&quot;: {&quot;name&quot;: &quot;human-monitor-command&quot;}}}]</div>
<div>15:27:12.473: 8080: debug : virJSONValueFromString:933 : string={&quot;error&quot;: {&quot;class&quot;: &quot;CommandNotFound&quot;, &quot;desc&quot;: &quot;The command human-monitor-command has not been found&quot;, &quot;data&quot;: {&quot;name&quot;: &quot;human-monitor-command&quot;}}}</div>
</div><div><br></div></div><br><div>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&#39;t done a full system update.  I&#39;ll try the full update next, but any suggestions are welcome in the mean time.</div>
<div><br></div><div>Thanks</div><div>- Trey</div>