libxl: allow the creation of HVM domains without a device model.
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 7 Dec 2015 16:48:36 +0000 (17:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 15 Dec 2015 13:25:44 +0000 (13:25 +0000)
commit5ca88cb7582a19636646c1a39c739fdbcaf3362a
tree83a8685fcb2122d7a3c5ab300b66ca915b4769fe
parent904fc1d7c90d709ba9831fdf38a906c3ffff6922
libxl: allow the creation of HVM domains without a device model.

Replace the firmware loaded into HVM guests with an OS kernel. Since the HVM
builder now uses the PV xc_dom_* set of functions this kernel will be parsed
and loaded inside the guest like on PV, but the container is a pure HVM
guest.

Also, if device_model_version is set to none or a device model for the
specified domain is not present unconditinally set the nic type to
LIBXL_NIC_TYPE_VIF.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
12 files changed:
docs/man/xl.cfg.pod.5
tools/libxc/include/xc_dom.h
tools/libxc/xc_dom_x86.c
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/libxl_x86.c
tools/libxl/xl_cmdimpl.c