x86: remove XENFEAT_hvm_pirqs for PVHv2 guests
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 24 Feb 2017 14:46:10 +0000 (15:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Feb 2017 14:46:10 +0000 (15:46 +0100)
commitb96b50004804fb7d6e180784fab9fb25c29844ac
treef639e4cdb1deb4d64eb67c54cff9caeba55b0d51
parentad8aafe287eb015c0717f79d8cd60b4813bea914
x86: remove XENFEAT_hvm_pirqs for PVHv2 guests

PVHv2 guests, unlike HVM guests, won't have the option to route interrupts
from physical or emulated devices over event channels using PIRQs. This
applies to both DomU and Dom0 PVHv2 guests.

Introduce a new XEN_X86_EMU_USE_PIRQ to notify Xen whether a HVM guest can
route physical interrupts (even from emulated devices) over event channels,
and is thus allowed to use some of the PHYSDEV ops.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
docs/misc/hvmlite.markdown
xen/arch/x86/hvm/hypercall.c
xen/arch/x86/physdev.c
xen/common/kernel.c
xen/include/asm-x86/domain.h
xen/include/public/arch-x86/xen.h