[meta-virtualization] [RFC 0/8] Update to Xen 4.5.0 and add AArch64 support

Nathan Rossi nathan.rossi at xilinx.com
Thu Jan 29 19:31:40 PST 2015

This patch series updates the Xen recipes to use version 4.5.0 as well as
refactoring and adding support for AArch64.

The first 6 patches of this series are relatively trivial changes: adding
additional files to packages, updating dependencies and adding support for
additional architectures ontop of x86-64. The most important change is the
moving of some x86 of the packages from xen-base RDEPENDS to RRECOMMENDS.

Patches 7 and 8 are the reason for this set being a RFC instead of just a patch
set, I am after feedback regarding the changes I have made for these patches.
In these two patches I disabled the building of xen-qemu and seabios from
within the xen build system. There are a number of issues in wrapping the xen
build system within OE (including source fetching and cross building).

Instead of building qemu from within xen, I have configured the qemu which is
part of oe-core to build with xen support (PACKAGECONFIG_append = "xen"). Since
xen support is available in mainline qemu this allows for easier support of the
xen device emulation via qemu. The PACKAGECONFIG option in oe-core does need to
be updated to point to the correct depends (which is seperate to this patch

SeaBIOS is disabled due to fetching issues as well as only being supported on
x86. I have not worked out the issues around this yet. I am querying as to
whether supporting it is desired, if so should it be via the xen build system
or as a seperate recipe?


Nathan Rossi (8):
  xen: Fix and refactor common include
  xen: Add Build and Target architecture mapping
  xen: Move x86/arch specific components into RRECOMMENDS
  xen: Fix up architecture specific steps
  xen: Add aarch64 as compatible host
  xen-*image-minimal: Setup conditional based on MACHINE_FEATURES
  xen: Update recipe to 4.5.0
  xen-image-minimal: Install qemu instead of xen-qemu

 recipes-extended/images/xen-guest-image-minimal.bb |   2 +-
 recipes-extended/images/xen-image-minimal.bb       |   6 +-
 ...lask-avoid-installing-policy-file-as-boot.patch |  26 -----
 recipes-extended/xen/xen-arch.inc                  |  18 ++++
 recipes-extended/xen/xen.inc                       | 113 +++++++++++++++++----
 recipes-extended/xen/xen_4.3.1.bb                  |  24 -----
 recipes-extended/xen/xen_4.5.0.bb                  |  36 +++++++
 7 files changed, 150 insertions(+), 75 deletions(-)
 delete mode 100644 recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
 create mode 100644 recipes-extended/xen/xen-arch.inc
 delete mode 100644 recipes-extended/xen/xen_4.3.1.bb
 create mode 100644 recipes-extended/xen/xen_4.5.0.bb


More information about the meta-virtualization mailing list