x86/xen: event channels delivery on HVM.
authorSheng Yang <sheng@linux.intel.com>
Fri, 14 May 2010 11:40:51 +0000 (12:40 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Jul 2010 23:45:59 +0000 (16:45 -0700)
commit38e20b07efd541a959de367dc90a17f92ce2e8a6
treebb087e243bf6e707dd063be2024a3b90de2f9413
parentbee6ab53e652a414af20392899879b58cd80d033
x86/xen: event channels delivery on HVM.

Set the callback to receive evtchns from Xen, using the
callback vector delivery mechanism.

The traditional way for receiving event channel notifications from Xen
is via the interrupts from the platform PCI device.
The callback vector is a newer alternative that allow us to receive
notifications on any vcpu and doesn't need any PCI support: we allocate
a vector exclusively to receive events, in the vector handler we don't
need to interact with the vlapic, therefore we avoid a VMEXIT.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/irq_vectors.h
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/xen/enlighten.c
arch/x86/xen/xen-ops.h
drivers/xen/events.c
include/xen/events.h
include/xen/hvm.h
include/xen/interface/features.h