x86: make sure the HVM callback vector is correctly set
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 3 Dec 2015 14:33:40 +0000 (15:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Dec 2015 14:33:40 +0000 (15:33 +0100)
commitaff9115de591304a2ae26061ad0ba77f6d674ac9
treed128c7afa8601af794e06dae4732534aa5142291
parenta10307b3912e65bbdd9184ba5fe849d252b75f92
x86: make sure the HVM callback vector is correctly set

If certain devices (like the local or the io apic) are disabled some modes
of operation of the HVM event channel callback cannot be used. Make sure Xen
doesn't try to setup them.

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