]> xenbits.xensource.com Git - libvirt.git/commit
esx: Restrict vpx:// to handle a single host in a vCenter
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 31 Jul 2010 21:57:42 +0000 (23:57 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 2 Aug 2010 20:25:15 +0000 (22:25 +0200)
commite4938ce2f17a48ec3a0ed57369875aa7de640bb6
tree1f119e2676cb1e392a9ee0125b3a24328d556f42
parent9f85668bd7344016dcb378885d40846aab525a9b
esx: Restrict vpx:// to handle a single host in a vCenter

Now a vpx:// connection has an explicitly specified host. This
allows to enabled several functions for a vpx:// connection
again, like host UUID, hostname, general node info, max vCPU
count, free memory, migration and defining new domains.

Lookup datacenter, compute resource, resource pool and host
system once and cache them. This simplifies the rest of the
code and reduces overall HTTP(S) traffic a bit.

esx:// and vpx:// can be mixed freely for a migration.

Ensure that migration source and destination refer to the
same vCenter. Also directly encode the resource pool and
host system object IDs into the migration URI in the prepare
function. Then directly build managed object references in
the perform function instead of re-looking up already known
information.
docs/drvesx.html.in
src/esx/esx_driver.c
src/esx/esx_storage_driver.c
src/esx/esx_vi.c
src/esx/esx_vi.h
src/esx/esx_vmx.c