domain: remove the 'is_xenstore' flag
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Aug 2019 17:19:55 +0000 (18:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Aug 2019 12:27:57 +0000 (13:27 +0100)
commitb6583e5fae574d0480d146b38bcd9872d6abc4e4
tree701a502d9680ead62111f8e9f82a02daa2e4d45a
parente7664719304a597e97543e39907c9aa50da00731
domain: remove the 'is_xenstore' flag

This patch introduces a convenience macro, is_xenstore_domain(), which
tests the domain 'options' directly and then uses that in place of
the 'is_xenstore' flag.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: "Roger Pau Monné" <roger.pau@citrix.com>
Acked-by: George Dunlap <George.Dunlap@eu.citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/common/domain.c
xen/common/domctl.c
xen/include/xen/sched.h
xen/include/xsm/dummy.h