domain: stash xen_domctl_createdomain flags in struct domain
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 30 Jul 2019 09:59:01 +0000 (11:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 30 Jul 2019 09:59:01 +0000 (11:59 +0200)
commitd8f2490561eb8879f415c8eb4c7993a92bd33850
treefe997f75dc3ef13269508712716df06d26b32797
parentbec9f9023e941a089b5aaae301743c9f0e14a111
domain: stash xen_domctl_createdomain flags in struct domain

These are canonical source of data used to set various other flags. If
they are available directly in struct domain then the other flags are no
longer needed.

This patch simply copies the flags into a new 'options' field in
struct domain. Subsequent patches will do the related clean-up work.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/common/domain.c
xen/include/xen/sched.h