Re: [libvirt] [PATCH] ESX: Change disk selection for datastore detection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/10/28 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> On Wed, Oct 28, 2009 at 09:08:56PM +0100, Matthias Bolte wrote:
>> 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.
>
> Is there anything you can do in the case of a VM without any disks
> besides reporting the error ?  It might be needed if someone creates
> a disk-less VM - eg so they can use  iSCSI or NFS based root filesystem
>

The current domain XML format has no place to specify where to put the
VMX file, so I try to deduce the path from the disk file paths. Yes
this doesn't work for disk-less VM's. One could add a new element to
the domain XML that specifies the datastore path for the VMX file.

Matthias

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]