xen/pvshim: skip Dom0-only domain builder parts
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 11 Jan 2018 11:41:18 +0000 (11:41 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:05 +0000 (18:34 +0000)
commitd9527b2a51a4f7ba130dae632e20e177f347a6a3
tree34900e0f95063b31b385ebe537768e294f3b28c0
parent01fe63ce354f5e3c2f42cc35b76fcab2f400fd93
xen/pvshim: skip Dom0-only domain builder parts

Do not allow access to any iomem or ioport by the shim, and also
remove the check for Dom0 kernel support.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/dom0_build.c
xen/arch/x86/pv/dom0_build.c