<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: Î¢ÈíÑźÚ; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16447"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi,</DIV>
<DIV 
style="TEXT-INDENT: 2em">How do I view the libvirt virsh domxml-to-native function implementation? 
I think this function contains some error.</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">Because we use libvirt to manage some host and vms 
on vmware hypervisor. </DIV>
<DIV style="TEXT-INDENT: 2em">We use openenbula generate a template for libvirt 
,such as my attachment windows2008.xml.</DIV>
<DIV style="TEXT-INDENT: 2em">but when i use domxml-to-native to convert xml 
file to vmware config file vmx  as below.  This may not be 
accurate.</DIV>
<DIV style="TEXT-INDENT: 2em">For example:</DIV>
<DIV style="TEXT-INDENT: 2em">1. guestOs type : could I  config this 
parameter in xml file ,so after domxml-to-native to vmware.vmx , guestOS in my 
vmx file is "windows7srv-64 ".</DIV>
<DIV style="TEXT-INDENT: 2em">And also my pciBridge disappeared !</DIV>
<DIV style="TEXT-INDENT: 2em">So could someone help me and tell us about 
'virsh-c the esx :/ <A>/@host?no_verify=1</A> define windows2008.xml'  
function realization¡£</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">Thanks all!</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>virsh # domxml-to-native vmware-vmx windows2008.xml </DIV>
<DIV>.encoding = "UTF-8"</DIV>
<DIV>config.version = "8"</DIV>
<DIV>virtualHW.version = "7"</DIV>
<DIV>guestOS = "other-64"</DIV>
<DIV>uuid.bios = "42 11 25 27 fd b6 7b 6d-72 3f 75 c6 25 fe ef 3e"</DIV>
<DIV>displayName = "windows2008"</DIV>
<DIV>memsize = "2048"</DIV>
<DIV>numvcpus = "2"</DIV>
<DIV>sched.cpu.shares = "normal"</DIV>
<DIV>ide0:0.present = "true"</DIV>
<DIV>ide0:0.deviceType = "ata-hardDisk"</DIV>
<DIV>ide0:0.fileName = "/vmfs/volumes/349969f9-070dee8d/./windows2008.vmdk"</DIV>
<DIV>floppy0.present = "false"</DIV>
<DIV>floppy1.present = "false"</DIV>
<DIV>ethernet0.present = "true"</DIV>
<DIV>ethernet0.virtualDev = "e1000"</DIV>
<DIV>ethernet0.networkName = "VM Network"</DIV>
<DIV>ethernet0.connectionType = "bridged"</DIV>
<DIV>ethernet0.addressType = "vpx"</DIV>
<DIV>ethernet0.generatedAddress = "00:50:56:91:00:07"</DIV>
<DIV>svga.vramSize = "8388608"</DIV></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>zhanggp</SPAN></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>