]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
x86/libxc: add an arch domain config parameter to xc_domain_create
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 13 Nov 2015 11:05:51 +0000 (12:05 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 3 Dec 2015 15:00:53 +0000 (15:00 +0000)
commit0d0f28455d9c019475575d7a36f3c98fa4f0342d
tree17ad47062a324bdf743229b2fc91161ae27f8efc
parent68dc5813545c408b57221a2cb81b7e00dc9dc630
x86/libxc: add an arch domain config parameter to xc_domain_create

With the addition of HVMlite the hypervisor now always requires a non-null
arch domain config, which is different between HVM and PV guests.

Add a new parameter to xc_domain_create that contains a pointer to an arch
domain config. If the pointer is null, create a default arch domain config
based on guest type.

Fix all the in-tree callers to provide a null arch domain config in order to
mimic previous behaviour.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_domain.c
tools/libxl/libxl_create.c
tools/ocaml/libs/xc/xenctrl_stubs.c
tools/python/xen/lowlevel/xc/xc.c
tools/xenstore/init-xenstore-domain.c