]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite817fc893e04cffae8f00afcd851a19422f65cd0
treebb087e243bf6e707dd063be2024a3b90de2f9413
parentc7d0ef0ab1530d09ab41a9080e4441d22406ad62
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