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

[Xen-devel] [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough



Hi all,

This is a resend of the last part of the non-PCI passthrough after another
error found by Ian C. during build compilation on Debian Wheezy.

Debian wheezy is using an old version of libfdt which doesn't export correcly
fdt_first_property_offset, fdt_get_property_by_offset and
fdt_next_property_offset.

Thoses functions are used in order to copy the partial device tree into the
guest supports.

Adding compatibility for thoses functions (as we did for
fdt_{first,next}_subnode) is not easy because it requires to pull some
libfdt internal functions.

After discussion [1], it has been decided to disable support of partial
device tree on any OS using libfdt < 1.4.0 (release in september 2014).
Realistically only Debian Wheezy is impacted which has been superseed by
Jessie recently.

Any user who want to use passthrough on OS which don't have a recent libfdt
will have to build a new version of libfdt of append the device tree to the
guest kernel.

Sincerely yours,

[1] http://lists.xen.org/archives/html/xen-devel/2015-05/msg01682.html

Cc: andrii.anisov@xxxxxxxxxxxxxxx
Cc: andrii.tseglytskyi@xxxxxxxxxxxxxxx
Cc: robert.vanvossen@xxxxxxxxxxxxxxx
Cc: edgar.iglesias@xxxxxxxxxx
Cc: Josh.Whitehead@xxxxxxxxxxxxxxx

Julien Grall (6):
  tools/libxl: Check if fdt_{first,next}_subnode are present in libfdt
  tools/(lib)xl: Add partial device tree support for ARM
  tools/libxl: arm: Use an higher value for the GIC phandle
  libxl: Add support for Device Tree passthrough
  xl: Add new option dtdev
  docs/misc: arm: Add documentation about Device Tree passthrough

 docs/man/xl.cfg.pod.5             |  18 ++++
 docs/misc/arm/passthrough.txt     |  63 +++++++++++++
 tools/configure.ac                |  18 ++++
 tools/libxl/Makefile              |   2 +-
 tools/libxl/libxl.h               |   7 ++
 tools/libxl/libxl_arm.c           | 182 +++++++++++++++++++++++++++++++++++++-
 tools/libxl/libxl_create.c        |  32 +++++++
 tools/libxl/libxl_internal.h      |   5 ++
 tools/libxl/libxl_libfdt_compat.c |  94 ++++++++++++++++++++
 tools/libxl/libxl_libfdt_compat.h |  80 +++++++++++++++++
 tools/libxl/libxl_types.idl       |  11 +++
 tools/libxl/xl_cmdimpl.c          |  23 ++++-
 12 files changed, 529 insertions(+), 6 deletions(-)
 create mode 100644 docs/misc/arm/passthrough.txt
 create mode 100644 tools/libxl/libxl_libfdt_compat.c
 create mode 100644 tools/libxl/libxl_libfdt_compat.h

-- 
2.1.4


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


 


Rackspace

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