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.

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to