[Libguestfs] [PATCH supermin 0/2] helper: Implement device trees.

Richard W.M. Jones rjones at redhat.com
Fri Sep 6 15:45:05 UTC 2013


This two-part patch for supermin implements device trees (for ARM).

The first patch introduces a more rational way to handle command line
arguments in 'supermin-helper'.  See the commit message for details.
The old style is still supported for compatibility.

The second patch adds an extra supermin-helper --dtb parameter
specifying a wildcard.  A device tree file which matches the selected
kernel and this wildcard is linked to (or copied if --copy-kernel).

The intended use is from libguestfs (on ARM) which can now do:

  supermin-helper -f ext2 --dtb 'vexpress-*a9.dtb' [etc]

which will create a 'dtb' file alongside kernel, initrd, etc in the
appliance directory.  Qemu is invoked using:

  qemu-system-arm -kernel kernel -dtb dtb [...]

(or the equivalent via libvirt).

Rich.




More information about the Libguestfs mailing list