[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/4] XSM changes for split hardware / control domain
Theses are the broad changes needed for a split hardware / control domain. An earlier posting gave device_model privileges to hardware domain. For this posting, it was split out into a new capability. This way the operator can choose where to run the device models without making the hardware domain have the permissions. The first patch add XSM_HW_PRIV for the hardware hypercalls. Unlike the first posting, the control domain can call these hypercalls even though it doesn't really make sense. The idea was to keep the control domain all powerful from an XSM perspective. SILO is changed to allow control, hardwware or xenstore to service domUs. Xenstore and hardware will use grants for PV interfaces. Control wouldn't typically provide PV interfaces to domUs, but it is given the permision to do so. Again, to keep control all powerful. xsm/dummy: Allow hwdom SYSCTL_readconsole/physinfo this is not strictly needed. xenconsoled could read Xen's dmesg. If it's in hwdom, then that permission would be required. SYSCTL_physinfo is mainly to silence xl messages, which are mostly cosmetic. Jason Andryuk (4): xen/xsm: Add XSM_HW_PRIV xsm/silo: Support hwdom/control domains xen: Add DOMAIN_CAPS_DEVICE_MODEL & XEN_DOMCTL_CDF_device_model xsm/dummy: Allow hwdom SYSCTL_readconsole/physinfo tools/ocaml/libs/xc/xenctrl.ml | 1 + tools/ocaml/libs/xc/xenctrl.mli | 1 + xen/arch/arm/domain.c | 3 ++- xen/arch/arm/platform_hypercall.c | 2 +- xen/arch/x86/msi.c | 2 +- xen/arch/x86/physdev.c | 12 ++++----- xen/arch/x86/platform_hypercall.c | 2 +- xen/common/device-tree/dom0less-build.c | 3 +++ xen/common/domain.c | 3 ++- xen/common/sysctl.c | 2 +- xen/drivers/passthrough/pci.c | 5 ++-- xen/drivers/pci/physdev.c | 2 +- xen/include/public/bootfdt.h | 12 +++++++-- xen/include/public/domctl.h | 4 ++- xen/include/xen/sched.h | 9 +++++++ xen/include/xsm/dummy.h | 36 ++++++++++++++++++------- xen/include/xsm/xsm.h | 1 + xen/xsm/silo.c | 10 +++++-- 18 files changed, 80 insertions(+), 30 deletions(-) -- 2.49.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |