x86/PVH: permit more physdevop-s to be used by Dom0
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:20:35 +0000 (10:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:20:35 +0000 (10:20 +0100)
commit163db6a72b660f0f3c9fe1d34e8f6b07ae6bd77d
treecd592a80ab494849d41cc5dead85d56a435f083d
parent5b226ca74bb2c5cd84ede5c1f2b859c2e3bcd8a0
x86/PVH: permit more physdevop-s to be used by Dom0

Certain notifications of Dom0 to Xen are independent of the mode Dom0 is
running in. Permit further PCI related ones (only their modern forms).
Also include the USB2 debug port operation at this occasion. While
largely relevant for the latter, drop the has_vpci() part of the
conditional as redundant with is_hardware_domain(): There's no PVH Dom0
without vPCI.

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