]> xenbits.xensource.com Git - libvirt.git/commit
ESX: Change disk selection for datastore detection.
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 18 Oct 2009 19:21:46 +0000 (21:21 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 2 Nov 2009 21:22:12 +0000 (22:22 +0100)
commit7c7681dd90bb36b51392c8fd5aef9ce2244e0cc2
tree61c9b37c2bf78b908f7ca618abf4073906c4d430
parentb7abcf9d714f2e35d87c5779c6d14dc34b81ac02
ESX: Change disk selection for datastore detection.

In order to register a new virtual machine the ESX driver needs to upload
a VMX file to a datastore. Try to put this file beside the main VMDK file
of the virtual machine. Change the disk selection for datastore detection
to choose the first file-based harddisk instead of just the first disk.
The first disk may be a CDROM disk and ISO images are normaly not located
in the virtual machine's directory.

* src/esx/esx_driver.c: change disk selection for datastore detection
src/esx/esx_driver.c