<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 14"><meta name="Originator" content="Microsoft Word 14"><link rel="File-List" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        mso-pagination:none;
        font-size:10.5pt;
        mso-bidi-font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:宋体;
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-font-kerning:1.0pt;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-family:"Calibri","sans-serif";
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
 /* Page Definitions */
 @page
        {mso-page-border-surround-header:no;
        mso-page-border-surround-footer:no;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.WordSection1
        {page:WordSection1;}
-->
</style><span style="color: rgb(79, 129, 189);" lang="EN-US"></span>

Hi, Dear Mr/Mrs.<br>I have two questions ask for help: <br>my virt-manager and libvirt version is :<br>linux-vaan:~ # rpm -q libvirt<br>libvirt-0.8.5-1.2.i586<br>linux-vaan:~ # uname -a<br>Linux linux-vaan 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200  i686 i386 GNU/Linux<br>
linux-vaan:~ # rpm -q virt-manager<br>virt-manager-0.8.5-3.1.i586<br>linux-vaan:~ # cat /etc/SuSE-release<br>openSUSE 11.3 (i586)<br>VERSION = 11.3<br><br>virsh # version<br>Compiled against library: libvir 0.8.5<br>Using library: libvir 0.8.5<br>
Using API: ESX 0.8.5<br>Running hypervisor: ESX 4.1.0<br><br><br><b>question 1 : </b><br>When I try to create a vmware esxi domain from virsh like this : <br>       create --file /work/dom1.x<br> there is a  error message : <br>
       error: Failed to create domain from /work/dom1.xml<br>       error: this function is not supported by the connection driver: virDomainCreateXML<br>it seems dosen't support create esxi domain, but the <a href="http://libvirt.org/hvsupport.html">http://libvirt.org/hvsupport.html</a> show that is supported after ≥ 0.7.0<br>
<br>or create via virt-install<br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 14"><meta name="Originator" content="Microsoft Word 14"><link rel="File-List" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        mso-pagination:none;
        font-size:10.5pt;
        mso-bidi-font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:宋体;
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-font-kerning:1.0pt;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-family:"Calibri","sans-serif";
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
 /* Page Definitions */
 @page
        {mso-page-border-surround-header:no;
        mso-page-border-surround-footer:no;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.WordSection1
        {page:WordSection1;}
-->
</style>

<p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US"></span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US">          linux-vaan:~
# virt-install --connect=esx://<a href="http://root@192.168.8.162/?no_verify=1">root@192.168.8.162/?no_verify=1</a> -n rhel5 -r 512
--vcpus=1<span style="">  </span>--nodisks bridge=vmk0
--network bridge=vmk0 --pxe</span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US">          Enter
root's password for <a href="http://192.168.8.162">192.168.8.162</a>:</span></p><p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US">          Starting
install...</span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span style="color: rgb(79, 129, 189);" lang="EN-US">          ERROR<span style="">    </span>this function is not supported by the
connection driver: virDomainCreateXML</span><br></p><p class="MsoNormal" style="text-align: left;" align="left"><br></p><p class="MsoNormal" style="text-align: left;" align="left">how to  fix it ?<br></p><br><u>dom1.xml</u><br>
<span style="color: rgb(153, 153, 153);"><domain type='vmware'></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <name>dom1</name></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  <memory>524288</memory></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <currentMemory>524288</currentMemory></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  <vcpu>1</vcpu></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <os></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">    <type arch='i686'>hvm</type></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  </os></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <clock offset='utc'/></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  <on_poweroff>destroy</on_poweroff></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <on_reboot>restart</on_reboot></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  <on_crash>destroy</on_crash></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">  <devices></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">    <disk type='file' device='disk'></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">      <source file='[datastore1] rhel5/rhel5_2.vmdk'/></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">      <target dev='sda' bus='scsi'/></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">      <address type='drive' controller='0' bus='0' unit='0'/></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">    </disk></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">    <controller type='scsi' index='0' model='lsilogic'/></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">    <interface type='bridge'></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">      <mac address='00:0c:29:51:f1:1c'/></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">      <source bridge='VM Network'/></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);">    </interface></span><br style="color: rgb(153, 153, 153);">
<span style="color: rgb(153, 153, 153);">  </devices></span><br style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"></domain></span><br><b>question 2:</b> <br>vol-clone failed<br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 14"><meta name="Originator" content="Microsoft Word 14"><link rel="File-List" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Ccheney%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 680460288 22 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        mso-pagination:none;
        font-size:10.5pt;
        mso-bidi-font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:宋体;
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-font-kerning:1.0pt;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-family:"Calibri","sans-serif";
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
 /* Page Definitions */
 @page
        {mso-page-border-surround-header:no;
        mso-page-border-surround-footer:no;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.WordSection1
        {page:WordSection1;}
-->
</style>

<p class="MsoNormal" style="text-align: left;" align="left"><span lang="EN-US">virsh #
vol-clone --pool datastore1 rhel5/rhel5.vmdk rhel5/rhel5_2.vmdk</span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span style="color: rgb(79, 129, 189);" lang="EN-US">error: Failed to clone vol from
rhel5/rhel5.vmdk</span></p>

<p class="MsoNormal" style="text-align: left;" align="left"><span style="color: rgb(79, 129, 189);" lang="EN-US">error: this function is not
supported by the connection driver: virStorageVolCreateXMLFrom</span></p><p class="MsoNormal" style="text-align: left;" align="left"><span style="color: rgb(79, 129, 189);" lang="EN-US"><br></span></p><p class="MsoNormal" style="text-align: left; color: rgb(0, 0, 0);" align="left">
thanks for help!</p><p class="MsoNormal" style="text-align: left; color: rgb(0, 0, 0);" align="left"><br></p><p class="MsoNormal" style="text-align: left; color: rgb(0, 0, 0);" align="left">best regards!</p><p class="MsoNormal" style="text-align: left;" align="left">
<span style="color: rgb(79, 129, 189);" lang="EN-US"><br></span></p><span style="color: rgb(79, 129, 189);" lang="EN-US"></span><p class="MsoNormal" style="text-align: left;" align="left">

<br><span style="color: rgb(79, 129, 189);" lang="EN-US"></span></p>

<br><br>