Hi, Dear.
I have two questions ask for help:
my virt-manager and libvirt version is :
linux-vaan:~ # rpm -q libvirt
libvirt-0.8.5-1.2.i586
linux-vaan:~ # uname -a
Linux linux-vaan 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200š i686 i386 GNU/Linux
linux-vaan:~ # rpm -q virt-manager
virt-manager-0.8.5-3.1.i586
linux-vaan:~ # cat /etc/SuSE-release
openSUSE 11.3 (i586)
VERSION = 11.3

virsh # version
Compiled against library: libvir 0.8.5
Using library: libvir 0.8.5
Using API: ESX 0.8.5
Running hypervisor: ESX 4.1.0


question 1 :
When I try to create a vmware esxi domain from virsh like this :
šššššš create --file /work/dom1.x
šthere is aš error message :
šššššš error: Failed to create domain from /work/dom1.xml
šššššš error: this function is not supported by the connection driver: virDomainCreateXML
it seems dosen't support create esxi domain, but the http://libvirt.org/hvsupport.html show that is supported after ™ 0.7.0

or create via virt-install

ššššššššš linux-vaan:~ # virt-install --connect=esx://root@192.168.8.162/?no_verify=1 -n rhel5 -r 512 --vcpus=1š --nodisks bridge=vmk0 --network bridge=vmk0 --pxe

ššššššššš Enter root's password for 192.168.8.162:

š

ššššššš š Starting install...

ššššššššš ERRORššš this function is not supported by the connection driver: virDomainCreateXML


how toš fix it ?


dom1.xml
<domain type='vmware'>
š <name>dom1</name>
š <memory>524288</memory>
š <currentMemory>524288</currentMemory>
š <vcpu>1</vcpu>
š <os>
ššš <type arch='i686'>hvm</type>
š </os>
š <clock offset='utc'/>
š <on_poweroff>destroy</on_poweroff>
š <on_reboot>restart</on_reboot>
š <on_crash>destroy</on_crash>
š <devices>
ššš <disk type='file' device='disk'>
ššššš <source file='[datastore1] rhel5/rhel5_2.vmdk'/>
ššššš <target dev='sda' bus='scsi'/>
ššššš <address type='drive' controller='0' bus='0' unit='0'/>
ššš </disk>
ššš <controller type='scsi' index='0' model='lsilogic'/>
ššš <interface type='bridge'>
ššššš <mac address='00:0c:29:51:f1:1c'/>
ššššš <source bridge='VM Network'/>
ššš </interface>
š </devices>
</domain>
question 2:
vol-clone failed

virsh # vol-clone --pool datastore1 rhel5/rhel5.vmdk rhel5/rhel5_2.vmdk

error: Failed to clone vol from rhel5/rhel5.vmdk

error: this function is not supported by the connection driver: virStorageVolCreateXMLFrom


thanks for help!


best regards!