]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pvh: Piggyback on PVHVM for event channels (v2)
authorMukesh Rathor <mukesh.rathor@oracle.com>
Wed, 11 Dec 2013 20:36:51 +0000 (15:36 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:44:15 +0000 (10:44 -0500)
commit258c87e6230a720f20843a64698649d1767f5f82
tree2f49ac39521a4aa45872ecd0568565bd625d59b1
parent776f8c009cce5817fce5a0f4edd7399f8dad0541
xen/pvh: Piggyback on PVHVM for event channels (v2)

PVH is a PV guest with a twist - there are certain things
that work in it like HVM and some like PV. There is
a similar mode - PVHVM where we run in HVM mode with
PV code enabled - and this patch explores that.

The most notable PV interfaces are the XenBus and event channels.

We will piggyback on how the event channel mechanism is
used in PVHVM - that is we want the normal native IRQ mechanism
and we will install a vector (hvm callback) for which we
will call the event channel mechanism.

This means that from a pvops perspective, we can use
native_irq_ops instead of the Xen PV specific. Albeit in the
future we could support pirq_eoi_map. But that is
a feature request that can be shared with PVHVM.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/irq.c
drivers/xen/events/events_base.c