linux-hardened/include/xen/interface
Stefano Stabellini 183d03cc4f xen: Xen PCI platform device driver.
Add the xen pci platform device driver that is responsible
for initializing the grant table and xenbus in PV on HVM mode.
Few changes to xenbus and grant table are necessary to allow the delayed
initialization in HVM mode.
Grant table needs few additional modifications to work in HVM mode.

The Xen PCI platform device raises an irq every time an event has been
delivered to us. However these interrupts are only delivered to vcpu 0.
The Xen PCI platform interrupt handler calls xen_hvm_evtchn_do_upcall
that is a little wrapper around __xen_evtchn_do_upcall, the traditional
Xen upcall handler, the very same used with traditional PV guests.

When running on HVM the event channel upcall is never called while in
progress because it is a normal Linux irq handler (and we cannot switch
the irq chip wholesale to the Xen PV ones as we are running QEMU and
might have passed in PCI devices), therefore we cannot be sure that
evtchn_upcall_pending is 0 when returning.
For this reason if evtchn_upcall_pending is set by Xen we need to loop
again on the event channels set pending otherwise we might loose some
event channel deliveries.

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>
2010-07-22 16:46:09 -07:00
..
hvm xen: Add support for HVM hypercalls. 2010-07-22 16:45:31 -07:00
io xen pvfb: Dynamic mode support (screen resizing) 2008-05-27 10:11:36 +02:00
callback.h xen64: define asm/xen/interface for 64-bit 2008-07-16 10:56:18 +02:00
elfnote.h xen: add new Xen elfnote types and use them appropriately 2008-06-02 13:25:51 +02:00
event_channel.h xen: clean up asm/xen/hypervisor.h 2008-12-16 21:50:31 +01:00
features.h x86/xen: event channels delivery on HVM. 2010-07-22 16:45:59 -07:00
grant_table.h xen: Xen PCI platform device driver. 2010-07-22 16:46:09 -07:00
memory.h xen: add missing definitions in include/xen/interface/memory.h which ia64/xen needs 2008-05-27 10:11:36 +02:00
physdev.h
sched.h
vcpu.h xen: add missing definitions in include/xen/interface/vcpu.h which ia64/xen needs 2008-04-24 23:57:32 +02:00
version.h xen: add /sys/hypervisor support 2009-03-30 09:27:06 -07:00
xen.h xen: implement ptep_modify_prot_start/commit 2008-06-25 15:17:23 +02:00
xencomm.h xen: import arch generic part of xencomm 2008-04-24 23:57:32 +02:00