<div class="gmail_quote">On Tue, Sep 22, 2009 at 3:00 PM, Mark McLoughlin <span dir="ltr">&lt;<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 2009-09-22 at 10:05 +0200, Gianluca Cecchi wrote:<br>
&gt; &gt; Yeah, I think there&#39;s a bug currently in the code.  I believe markmc<br>
&gt; has<br>
&gt; &gt; recently ported that patch back, though, so upgrading to a newer<br>
&gt; version<br>
&gt; &gt; (when<br>
&gt; &gt; he pushes it) should fix the bug.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Chris Lalancette<br>
&gt; &gt;<br>
&gt;<br>
&gt; OK, I&#39;ll wait for the fix and then I test.<br>
<br>
</div>I think the fix Chris means is in libvirt-0.7.1-5<br>
<br>
Cheers,<br>
<font color="#888888">Mark.<br>
<br>
</font></blockquote></div>I confirm that with that version of libvirt I&#39;m able to save my VM (or at least the command completes, not tried yet to restore &#39;-)<br>Inside the data file saved I can see that there is also the xml config for the guest embedded ....<br>
As the VM is killed at the end of the save, can I then <br>- copy the disk(s) of the VM to another host<br>- copy the save file to another host<br>- restore the save on that secondary host based on the fact that it retains the same config?<br>
<br>At this time, trying to restore on another host that has not the same storage poool config gives this:<br>Error restoring domain &#39;/mnt/rhel54_x86_64&#39;: internal error unable to start guest: qemu: could not open disk image /dev/vg_qemu01/rhel53_64<br>
<br>and in details window:<br>Traceback (most recent call last):<br>  File &quot;/usr/share/virt-manager/virtManager/manager.py&quot;, line 458, in restore_saved_callback<br>    newconn.restore(file_to_load)<br>  File &quot;/usr/share/virt-manager/virtManager/connection.py&quot;, line 642, in restore<br>
    self.vmm.restore(frm)<br>  File &quot;/usr/lib64/python2.6/site-packages/libvirt.py&quot;, line 1420, in restore<br>    if ret == -1: raise libvirtError (&#39;virDomainRestore() failed&#39;, conn=self)<br>libvirtError: internal error unable to start guest: qemu: could not open disk image /dev/vg_qemu01/rhel53_64<br>
<br>Supposing I recreate a pool with the same pointers and the hard disk of the VM, are there other limitations/restrictions to restore on another host?<br><br>