]> xenbits.xensource.com Git - xen.git/commit
tools: libxl: hide selection of hvmloader by default.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 19 Apr 2011 08:16:24 +0000 (09:16 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 19 Apr 2011 08:16:24 +0000 (09:16 +0100)
commit0cb2a574211b9055790116a9066ebc3acbbba7e7
tree56b1920fe7152d5ed639b9286a90c8b995f87bd0
parentff38d3faa7d0e1734237e81c2fea95e18c510dcd
tools: libxl: hide selection of hvmloader by default.

This should never have been exposed to users as something they are
required to think about, unless they want to.

At the libxl API level:
      * Move libxl_domain_build_info.kernel into the PV side of the
        tagged union (using this field to specify both PV kernel and
        hvmloader is confusing)
      * Add hvmloader (a string) to the HVM side of the tagged union.
        This defaults to NULL and libxl will DTRT with that default
        but still allow libxl users to specify something explicit if
        they want.

At the xl level:
      * WARN if an HVM guest cfg uses the "kernel" config option, and
        direct users to the "hvmloader_override" option if they really
        do not want the default hvmloader.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl.idl
tools/libxl/libxl_bootloader.c
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_dom.c
tools/libxl/xl_cmdimpl.c