]> xenbits.xensource.com Git - xen.git/commit
x86/HVM: switch virtual_intr_delivery_enabled() hook to simple boolean
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Thu, 19 Jul 2018 07:36:29 +0000 (09:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 19 Jul 2018 07:36:29 +0000 (09:36 +0200)
commit90e6a78b7bd64f57fe4f0267c5ff9c69b7a641a3
tree11cdd50710f42386ae72b373f6ab2b84561d5b44
parent2e20a71404d5bff0b6a0bb604c89c2192c38755a
x86/HVM: switch virtual_intr_delivery_enabled() hook to simple boolean

This patch modifies the hvm_funcs.virtual_intr_delivery_enabled()
to become a bool variable as VMX does and SVM will simply return a
static value.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h