[libvirt] esx driver: XML format for guest OS type/variant

Richard W.M. Jones rjones at redhat.com
Thu Jan 13 11:54:11 UTC 2011


On Thu, Jan 13, 2011 at 12:47:34PM +0100, Matthias Bolte wrote:
> 2011/1/13 Richard W.M. Jones <rjones at redhat.com>:
> > It's probably impossible from the ESX driver itself, but you could run
> > virt-inspector on the domain and translate the result into a suitable
> > guestOS string.  virt-inspector supports a large proportion of the
> > OSes listed.
> 
> That won't work in general, as you want to set the guest OS type in
> the VMX config before you install the guest OS.

So you're stuck with modelling it in the libvirt XML somehow.

I will just add that a current RFE is to make virt-inspector work on
install CDs.  The idea is in virt-manager that we have it
automatically fill in the OS hints based on the ISO you try to use.

For more information see:
http://libguestfs.org/TODO.txt # section "live CD inspection"

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html




More information about the libvir-list mailing list