<div class="gmail_quote">dear community,<br><br>no matter the guest vm instance is raw or qcow2 format, when run "virsh dumpxml <guest-name>", the error are all the same, shown below:<br><br>virsh dumpxml ttylinux.img <br>
error: failed to get domain 'ttylinux.img'<br>
error: Domain not found: no domain with matching name 'ttylinux.img'<br><br>virsh dumpxml cloud.qcow2<br>error: failed to get domain 'cloud.qcow2'<br>error: Domain not found: no domain with matching name 'cloud.qcow2'<br>

<br>it is much appreciated if you can help to identify the problems.<br><br>thanks,<br>david su<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 6:40 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Sat, Nov 17, 2012 at 10:40:31PM +1300, Qiubo Su (David Su) wrote:<br>
> dear virt-manager team,<br>
><br>
</div><div>> i run "VBoxManage clonehd --format RAW image.vdi image.img" to convert the<br>
> virtualbox .vdi vm instance to raw format, and with virt-manager to create<br>
> new vm with the raw format, it works fine, i.e. can start the new vm<br>
> instance successfully and the networking access is the same as before.<br>
><br>
> but after run "qemu-img convert -f raw image.img -O qcow2 image.qcow" to<br>
> convert the raw format to qcow2 format, and with virt-manager to create new<br>
> vm with the qcow2 format, it doesn't work, i.e. get "no bootable device"<br>
> error when start the new vm with qcow2 format, no need to say the<br>
> networking access.<br>
<br>
</div>I'm guessing this is because libvirt still thinks the format of the<br>
disk is raw instead of qcow2.  What is the output of:<br>
<br>
  virsh dumpxml <name-of-the-guest><br>
<div><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>New in Fedora 11: Fedora Windows cross-compiler. Compile Windows<br>
programs, test, and build Windows installers. Over 70 libraries supprt'd<br>
<a href="http://fedoraproject.org/wiki/MinGW" target="_blank">http://fedoraproject.org/wiki/MinGW</a> <a href="http://www.annexia.org/fedora_mingw" target="_blank">http://www.annexia.org/fedora_mingw</a><br>
</blockquote></div><br>
</div></div></div><br>