]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus.
authorMukesh Rathor <mukesh.rathor@oracle.com>
Mon, 22 Oct 2012 15:37:57 +0000 (11:37 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Oct 2012 14:10:43 +0000 (10:10 -0400)
commit6c6067f2638835b22ddde4eaef278bb2c096a08b
tree43c7d757c8cd663d2334d21a5b4d03515918bdc3
parent1ba23a0f2605e828efb1cd531ae297a84a9ddb05
xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus.

Make gdt_frames[]/gdt_ents into a union with {gdtaddr, gdtsz},
as PVH only needs to send down gdtaddr and gdtsz in the
vcpu_guest_context structure..

For interrupts, PVH uses native_irq_ops so we can skip most of the
PV ones. In the future we can support the pirq_eoi_map..
Also VCPU hotplug is currently not available for PVH.

For events (and IRQs) we follow what PVHVM does - so use callback
vector.  Lastly, for XenBus we use the same logic that is used in
the PVHVM case.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
[v2: Rebased it]
[v3: Move 64-bit ifdef and based on Stefan add extra comments.]
[v4: Rebased it once more]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/interface.h
arch/x86/xen/irq.c
arch/x86/xen/p2m.c
arch/x86/xen/smp.c
drivers/xen/cpu_hotplug.c
drivers/xen/events.c
drivers/xen/xenbus/xenbus_client.c