[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 00/25] dom0less step1: boot multiple domains from device tree
Hi all, This is first step toward "dom0less" as discussed in the various certifications related threads and discussions. The goal of this series is to enable Xen to boot multiple domains in parallel, in addition to dom0, out of information found on device tree. The device tree based boot protocol is extended to carry information about DomUs. Based on that information, Xen creates and starts one or more DomUs. DomUs created this way don't have access to xenstore for the moment. This is actually OK, because this is meant for mission critical applications that typically only access directly assigned devices. They cannot tolerate interference or increased IRQ latency due to PV protocols. Device assignment is not actually covered by this series, it will be added later. DomUs can print to the Xen serial using the CONSOLEIO hypercalls. A virtual PL011 is also emulated for them so that they can use their regular PL011 driver. This allows unmodified guests to run as Xen on ARM guests -- no Xen support needed at all. Console input also comes from the Xen serial: the Ctrl-AAA switching mechanism is extended to switch among domUs, dom0, and Xen. In this version of the series, I reordered the patches to make sure they are all bisectable. Cheers, Stefano The following changes since commit f1ad5ff73e7d07e6a18488430583168a857f2847: xen/arm: setup: Move in init code only used at boot in setup.c (2018-07-11 12:22:17 -0700) are available in the git repository at: http://xenbits.xenproject.org/git-http/people/sstabellini/xen-unstable.git dom0less-v3 for you to fetch changes up to 15d869b83e3618ae637003711bd28dc847b9fe39: xen/arm: split domain_build.c (2018-07-27 19:39:42 -0700) ---------------------------------------------------------------- Stefano Stabellini (25): xen: allow console_io hypercalls from certain DomUs xen/arm: move a few DT related defines to public/device_tree_defs.h xen/arm: extend device tree based multiboot protocol xen/arm: document dom0less xen/arm: do not pass dt_host to make_memory_node and make_hypervisor_node xen/arm: move evtchn_allocate call out of make_hypervisor_node xen/arm: rename acpi_make_chosen_node to make_chosen_node xen/arm: increase MAX_MODULES xen/arm: introduce bootcmdlines xen/arm: don't add duplicate boot modules xen/arm: probe domU kernels and initrds xen/arm: refactor construct_dom0 xen/arm: introduce create_domUs xen/arm: introduce construct_domU xen/arm: rename get_11_allocation_size to get_allocation_size xen/arm: rename allocate_memory to allocate_memory_11 xen/arm: introduce allocate_memory xen/arm: generate a simple device tree for domUs xen/arm: generate vpl011 node on device tree for domU xen/arm: introduce a union in vpl011 xen/arm: refactor vpl011_data_avail xen/arm: Allow vpl011 to be used by DomU xen: support console_switching between Dom0 and DomUs on ARM xen/vpl011: buffer out chars when the backend is xen xen/arm: split domain_build.c docs/misc/arm/device-tree/booting.txt | 107 +++ docs/misc/arm/dom0less | 47 ++ tools/libxl/libxl_arm.c | 59 +- xen/arch/arm/acpi/Makefile | 1 + xen/arch/arm/acpi/acpi_dt_build.c | 591 ++++++++++++++++ xen/arch/arm/acpi/acpi_dt_build.h | 32 + xen/arch/arm/bootfdt.c | 69 +- xen/arch/arm/domain_build.c | 1189 +++++++++++++++------------------ xen/arch/arm/kernel.c | 49 +- xen/arch/arm/kernel.h | 6 +- xen/arch/arm/setup.c | 68 +- xen/arch/arm/vpl011.c | 281 ++++++-- xen/common/device_tree.c | 6 +- xen/drivers/char/console.c | 71 +- xen/include/asm-arm/irq.h | 16 + xen/include/asm-arm/setup.h | 26 +- xen/include/asm-arm/vpl011.h | 19 +- xen/include/asm-x86/setup.h | 2 + xen/include/public/device_tree_defs.h | 42 ++ xen/include/xen/console.h | 2 + xen/include/xen/device_tree.h | 35 +- xen/include/xen/sched.h | 2 + xen/include/xsm/dummy.h | 2 + 23 files changed, 1910 insertions(+), 812 deletions(-) create mode 100644 docs/misc/arm/dom0less create mode 100644 xen/arch/arm/acpi/acpi_dt_build.c create mode 100644 xen/arch/arm/acpi/acpi_dt_build.h create mode 100644 xen/include/public/device_tree_defs.h _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |