Since v1.1 QEMU provides -dtb option to support loading device tree binary images.
These patches update qemu commands/capabilities for dtb and provide docs/tests.
Olivia Yin (3):
conf: support <dtb> tag in XML domain file
qemu: add dtb option supprt
selinux: deal with dtb file
docs/formatdomain.html.in | 5 +++
docs/schemas/domaincommon.rng | 6 ++++
src/conf/domain_conf.c | 4 ++
src/conf/domain_conf.h | 1 +
src/qemu/qemu_capabilities.c | 8 ++++-
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 6 ++++
src/security/security_dac.c | 8 +++++
src/security/security_selinux.c | 8 +++++
src/security/virt-aa-helper.c | 4 ++
tests/qemuhelptest.c | 30 +++++++++++++------
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args | 1 +
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 28 ++++++++++++++++++
tests/qemuxml2argvtest.c | 2 +
tests/testutilsqemu.c | 33 ++++++++++++++++++++++
15 files changed, 133 insertions(+), 12 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml