[virt-tools-list] virt-convert vmx -> virt-image

Алексей lesovsky_av at uzps.mh.ru
Wed Nov 11 06:47:46 UTC 2009


Good Day ALL, and sorry my English

Help me, I need convert vmware virtual machine to kvm virtual machine. And 
when I run 

#virt-convert --input-format=vmx /kvm/storage/tmp/uzpsdomain-vmx/UzpsDomain.vmx

I get

Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python2.6/logging/handlers.py", line 144, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 644, in format
    return fmt.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 435, in format
    s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: 
ordinal not in range(128)
ERROR    Couldn't import 
file "/kvm/storage/tmp/uzpsdomain-vmx/UzpsDomain.vmx": Disk ide:2 storage 
does not exist

I trying use additional parameters such 
as  --output-format; --hvm; --arch; --os-type; --os-variant but get this 
error again.

OS and Installed version
gentoo 2.6.31-r5
app-emulation/kvm-88-r1
app-emulation/libvirt-0.7.2
app-emulation/virt-manager-0.8.0
app-emulation/virt-viewer-0.2.0
app-emulation/virtinst-0.500.0

vmx file is attached.
-- 
mailto: d4 at uzps.mh.ru
ICQ: 246016688
-------------- next part --------------
config.version = "8"
virtualHW.version = "4"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "384"
MemAllowAutoScaleDown = "FALSE"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "UZPSDOMAIN.vmdk"
ide1:0.present = "FALSE"
floppy0.fileName = "A:"
ethernet0.present = "TRUE"
usb.present = "FALSE"
sound.present = "FALSE"
sound.virtualDev = "es1371"
sound.fileName = "-1"
sound.autodetect = "TRUE"
displayName = "UzpsDomain"
guestOS = "winnetenterprise"
nvram = "UZPSDOMAIN.nvram"

workingDir = ""
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 98 4b 6e c2 57 0f-a7 47 00 b5 20 01 46 f8"
uuid.bios = "56 4d 27 b0 b2 cd 72 35-38 17 a7 17 b1 1b 82 ae"
ide1:0.autodetect = "TRUE"
tools.remindInstall = "FALSE"
ethernet0.generatedAddress = "00:0c:29:1b:82:ae"
ethernet0.generatedAddressOffset = "0"
checkpoint.vmState = ""

tools.syncTime = "FALSE"

sharedFolder.maxNum = "1"
sharedFolder0.present = "FALSE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.hostPath = "F:\"
sharedFolder0.guestName = "Save"
sharedFolder0.expiration = "never"

floppy0.present = "FALSE"
ethernet0.startConnected = "TRUE"

virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "manual"

isolation.tools.hgfs.disable = "TRUE"

scsi0:0.mode = "independent-persistent"

uuid.action = "keep"


More information about the virt-tools-list mailing list