]> xenbits.xensource.com Git - xen.git/commit
x86: don't allow Dom0 access to port CF9
authorJan Beulich <jbeulich@suse.com>
Thu, 2 Nov 2023 09:43:29 +0000 (10:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 Nov 2023 09:43:29 +0000 (10:43 +0100)
commitee3bcf907ac39aed099d6fca41ab3769180d03f0
tree6cc8d54aa4f542331af7193b16ef9191ef54b298
parent7b1de98b66f91b468d9bdc9abafdb55e3276d989
x86: don't allow Dom0 access to port CF9

This allows to initiate machine reset, which we don't want to permit
Dom0 to invoke that way.

While there insert blank lines and convert the sibling PCI config space
port numbers to upper case, matching style earlier in the function.

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