Hi,

I've been trying to figure out how to create a new domain(create a new virtual machine) using the ESX driver.

The documentation at http://libvirt.org/drvesx.html says:

To define a new domain the driver converts the domain XML into a VMware VMX file and uploads it to a datastore known to the ESX server. Because multiple datastores may be known to an ESX server the driver needs to decide to which datastores the VMX file should be uploaded. The driver deduces this information from the path of the source of the first file-based harddisk listed in the domain XML.

But I can't find a way to do this in virsh. Any ideas? 

-George