]> xenbits.xensource.com Git - xen.git/commit
libxl: Move domain_create_info_setdefault earlier
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 Oct 2019 16:16:44 +0000 (17:16 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 24 Oct 2019 15:08:41 +0000 (16:08 +0100)
commit95596f6ab18feb825006ef8f272041f1d94e6bd1
treea2561f5074830e35c8560bd2f3685c17be4df531
parent5f135a65d2803f3636f52895cc811ec66576a8db
libxl: Move domain_create_info_setdefault earlier

We need this before we start to figure out the passthrough mode.

I have checked that nothing in libxl__domain_create_info_setdefault
nor the two implementations of ..._arch_... accesses anything else,
other than (i) the domain type (which this function is responsible for
setting and nothing before it looks at) (ii) c_info->ssidref (which is
defaulted by flask code near the top of
libxl__domain_config_setdefault and not accessed afterwards).

So no functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_create.c