[PATCH v1 00/12] HVMlite domU support

From: Boris Ostrovsky
Date: Fri Jan 22 2016 - 16:38:40 EST


This series introduces HVMlite support for unprivileged guests.

It has been tested on Intel/AMD, both 32- and 64-bit, including CPU on- and
offlining and save/restore. (Restore will result in APIC write warnings
which exist now for 32-bit PV guests as well so I didn't address this in
this series)

Compile-tested on ARM

Boris Ostrovsky (12):
x86/smp: Make start_secondary() and initial_pg_pmd visible globally
xen/hvmlite: Factor out common kernel init code
xen/hvmlite: Import hvmlite-related Xen public interfaces
xen/hvmlite: Bootstrap HVMlite guest
xen/hvmlite: Allow HVMlite guests delay initializing grant table
xen/hvmlite: Initialize PCI
xen/hvmlite: Prepare cpu_initialize_context() routine for HVMlite SMP
xen/hvmlite: Initialize context for secondary VCPUs
xen/hvmlite: Extend APIC operations for HVMlite guests
xen/hvmlite: Use x86's default timer init for HVMlite guests
xen/hvmlite: Boot secondary CPUs
xen/hvmlite: Enable CPU on-/offlining

arch/x86/include/asm/smp.h | 1 +
arch/x86/kernel/head_32.S | 2 +-
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/pci/xen.c | 2 +-
arch/x86/xen/Makefile | 1 +
arch/x86/xen/apic.c | 39 ++++-
arch/x86/xen/enlighten.c | 318 ++++++++++++++++++++++------------
arch/x86/xen/grant-table.c | 4 +-
arch/x86/xen/platform-pci-unplug.c | 4 +-
arch/x86/xen/pmu.c | 4 +-
arch/x86/xen/smp.c | 248 ++++++++++++++++++--------
arch/x86/xen/smp.h | 4 +
arch/x86/xen/time.c | 5 +-
arch/x86/xen/xen-hvmlite.S | 173 ++++++++++++++++++
drivers/xen/grant-table.c | 8 +-
include/xen/interface/elfnote.h | 12 ++-
include/xen/interface/hvm/hvm_vcpu.h | 143 +++++++++++++++
include/xen/interface/xen.h | 24 +++
include/xen/xen.h | 6 +
19 files changed, 801 insertions(+), 199 deletions(-)
create mode 100644 arch/x86/xen/xen-hvmlite.S
create mode 100644 include/xen/interface/hvm/hvm_vcpu.h