[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libvirt-users] Error using virt-convert

[CC to virt-tools list]

On 2012年12月05日 06:13, Chandana De Silva wrote:

I am trying to use virt-convert to convert a KVM/libvirt guest to VMWare
ESX 4, and getting an error. Any help would be greatly appreciated.

I have created a virt-image image file as shown at
http://people.redhat.com/dlutter/virt-image/virt-image-xml.html. See
below for the xml file.

I am using the following command for the conversion, and am getting the
error shown :
/usr/bin/virt-convert -i virt-image -o vmx -D vmdk mon03.xml mon03

ERROR Couldn't import file "mon03.xml": Couldn't import file
'mon03.xml': Disk entry for 'mon03' not found

The image file itself is readable by all:
ls -la /var/lib/libvirt/imageshelf/mon03.img
-rw-r--r-- 1 root m4u 8589934592 Dec 3 09:25

ls -la mon03.xml
-rw-rw-r-- 1 chandana chandana 657 Dec 5 09:08 mon03.xml

<boot type="hvm">
<loader dev="cdrom"/>
<drive disk="mon03" target="hda"/>
<disk id="mon03" file="/var/lib/libvirt/imageshelf/mon03.img"
use="system" size="8388608" format="raw"/>
<!-- vi: sw=4 ts=4 et:

libvirt-users mailing list
libvirt-users redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]