[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v6 00/12] PVH VCPU hotplug support



This series adds support for ACPI-based VCPU hotplug for unprivileged
PVH guests.

Main changes in v6:
* Generate SCI on VCPU map update by domctl
* Simplify public domctl structure
* Make ACPI registers accessible only by guest (and not by domctl)
* Update VCPU map under lock
* Fix pointer update in xc_acpi_access()

Boris Ostrovsky (12):
  domctl: Add XEN_DOMCTL_acpi_access
  x86/save: public/arch-x86/hvm/save.h is available to hypervisor and
    tools only
  pvh/acpi: Install handlers for ACPI-related PVH IO accesses
  pvh/acpi: Handle ACPI accesses for PVH guests
  x86/domctl: Handle ACPI access from domctl
  events/x86: Define SCI virtual interrupt
  pvh: Send an SCI on VCPU hotplug event
  libxl: Update xenstore on VCPU hotplug for all guest types
  tools: Call XEN_DOMCTL_acpi_access on PVH VCPU hotplug
  pvh: Set online VCPU map to avail_vcpus
  pvh/acpi: Save ACPI registers for PVH guests
  docs: Describe PVHv2's VCPU hotplug procedure

 docs/misc/hvmlite.markdown             |  13 ++
 tools/flask/policy/modules/dom0.te     |   2 +-
 tools/flask/policy/modules/xen.if      |   4 +-
 tools/libxc/include/xenctrl.h          |  20 +++
 tools/libxc/xc_domain.c                |  41 ++++++
 tools/libxl/libxl.c                    |  10 +-
 tools/libxl/libxl_arch.h               |   4 +
 tools/libxl/libxl_arm.c                |   6 +
 tools/libxl/libxl_dom.c                |  10 ++
 tools/libxl/libxl_x86.c                |  11 ++
 tools/libxl/libxl_x86_acpi.c           |   6 +-
 xen/arch/x86/domctl.c                  |   7 +
 xen/arch/x86/hvm/Makefile              |   1 +
 xen/arch/x86/hvm/acpi.c                | 226 +++++++++++++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c                 |   2 +
 xen/arch/x86/hvm/pmtimer.c             |   9 ++
 xen/common/domain.c                    |   1 +
 xen/common/domctl.c                    |   5 +
 xen/common/event_channel.c             |   7 +-
 xen/include/asm-x86/domain.h           |   2 +
 xen/include/asm-x86/hvm/domain.h       |   5 +
 xen/include/public/arch-x86/hvm/save.h |  25 +++-
 xen/include/public/arch-x86/xen.h      |   7 +-
 xen/include/public/domctl.h            |  17 +++
 xen/include/xen/domain.h               |   1 +
 xen/include/xen/event.h                |   8 ++
 xen/include/xen/sched.h                |   3 +
 xen/xsm/flask/hooks.c                  |   3 +
 xen/xsm/flask/policy/access_vectors    |   2 +
 29 files changed, 445 insertions(+), 13 deletions(-)
 create mode 100644 xen/arch/x86/hvm/acpi.c

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.