]> 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, 4 Mar 2013 15:26:24 +0000 (10:26 -0500)
commit23b0133ec3f56694af06100296c3032b046a6894
treec61940f759fb69f9c8aae9c883ba776579ba3f27
parent04b181575e74610639514c373467b8501e17d6ad
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