[libvirt] VMware ESX driver progress

Matthias Bolte matthias.bolte at googlemail.com
Tue Jul 21 14:58:50 UTC 2009


Hi,

the development was hindered by our testing cluster being offline
since 2 weeks due to server room cooling system maintenance. But I
finally got a basic version of dump-XML done, that fills all fields of
the virDomainDef that the VMX file contains data for.

Changes since first announcement:

- Move code into esx subdirectory
- Add esxNodeGetInfo()
- Fix esxDomainGetInfo() to report the correct value for memory
- Add memory and max-memory getter/setters
- Add CPU scheduler getter/setters
- Validate a migration before trying to perform it
- Replace esxUtil_Strdup() with strdup() and remove
esxUtil_MigrateStringFromLibXML()
- Add esxVI_EnsureSession() to handle expiring sessions
- Separate VI client code into multiple files and generate most of the
type handling code with macros
- Add esxDomainDumpXML() based on esxVMX_ParseConfig()

The ESX driver isn't complete yet, currently it supports:

- domain lookup by ID, UUID and name
- domain listing
- domain info retrieval
- domain suspend and resume
- domain start and destroy
- domain reboot and shutdown, if the VMware tools are installed inside
the domain
- domain migration with previous validation
- domain memory configuration
- domain CPU amount and scheduler configuration
- domain XML-dump
- domain XML-from-native (VMX)
- node info retrieval
- node hostname retrieval

The next milestone is creating/defining a new domain from a domain XML
config, but this will not be finished until feature freeze for 0.7.0
on friday.

Regards,
  Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esx_driver_2_changed_files.patch
Type: text/x-diff
Size: 5931 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090721/158563ee/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esx_driver_2_new_files.patch
Type: text/x-diff
Size: 434285 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090721/158563ee/attachment-0003.bin>


More information about the libvir-list mailing list