]> 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>
Sat, 1 Dec 2012 13:45:30 +0000 (08:45 -0500)
commit50c0b3df91be7a440b50ee7d74fd2042bca173fd
tree7cfdbeda9936e26e798a4ab3cdea7f077cf7fe49
parentceb678d6b0f72c29adf111395a57a88db297e972
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