[PATCH v2 0/9] PVH v2 support (domU)

From: Boris Ostrovsky
Date: Thu Jan 26 2017 - 15:44:42 EST


PVH v2 support for unprivileged guests.

Now that we decided to defer ACPI CPU hotplug until we understand better
what to do about it in dom0 I am sending v2 with PV-style CPU hotplug, with
v1 comments addressed.


Boris Ostrovsky (9):
x86/boot/32: Convert the 32-bit pgtable setup code from assembly to C
xen/x86: Remove PVH support
xen/pvh: Import PVH-related Xen public interfaces
xen/pvh: Bootstrap PVH guest
xen/pvh: Prevent PVH guests from using PIC, RTC and IOAPIC
xen/pvh: Initialize grant table for PVH guests
xen/pvh: PVH guests always have PV devices
xen/pvh: Enable CPU hotplug
xen/pvh: Use Xen's emergency_restart op for PVH guests

arch/x86/include/asm/pgtable_32.h | 32 ++++
arch/x86/kernel/head32.c | 62 ++++++++
arch/x86/kernel/head_32.S | 121 +--------------
arch/x86/xen/Kconfig | 2 +-
arch/x86/xen/Makefile | 1 +
arch/x86/xen/enlighten.c | 272 +++++++++++++++++----------------
arch/x86/xen/mmu.c | 21 +--
arch/x86/xen/platform-pci-unplug.c | 4 +-
arch/x86/xen/setup.c | 37 +----
arch/x86/xen/smp.c | 78 ++++------
arch/x86/xen/smp.h | 8 -
arch/x86/xen/xen-head.S | 62 +-------
arch/x86/xen/xen-ops.h | 1 -
arch/x86/xen/xen-pvh.S | 137 +++++++++++++++++
drivers/xen/cpu_hotplug.c | 2 +-
drivers/xen/events/events_base.c | 1 -
drivers/xen/grant-table.c | 8 +-
include/xen/interface/elfnote.h | 12 +-
include/xen/interface/hvm/hvm_vcpu.h | 143 +++++++++++++++++
include/xen/interface/hvm/start_info.h | 98 ++++++++++++
include/xen/xen.h | 12 +-
21 files changed, 676 insertions(+), 438 deletions(-)
create mode 100644 arch/x86/xen/xen-pvh.S
create mode 100644 include/xen/interface/hvm/hvm_vcpu.h
create mode 100644 include/xen/interface/hvm/start_info.h

--
1.8.3.1