On 02/03/2016 03:26 PM, Andrea Bolognani wrote:
Test all kinds of scenarios, including guests asking for GIC but
failing to specify a version, guests specifying an invalid version
and guests trying to use GIC with non-virt or even non-ARM machines.
---
.../qemuxml2argv-aarch64-gic-default.args | 1 +
.../qemuxml2argv-aarch64-gic-default.xml | 22 ++++++++++++++++++
.../qemuxml2argv-aarch64-gic-host.args | 20 ++++++++++++++++
.../qemuxml2argv-aarch64-gic-host.xml | 22 ++++++++++++++++++
.../qemuxml2argv-aarch64-gic-invalid.xml | 22 ++++++++++++++++++
.../qemuxml2argv-aarch64-gic-none.args | 1 +
.../qemuxml2argv-aarch64-gic-none.xml | 19 +++++++++++++++
.../qemuxml2argv-aarch64-gic-not-arm.xml | 22 ++++++++++++++++++
.../qemuxml2argv-aarch64-gic-not-virt.xml | 22 ++++++++++++++++++
tests/qemuxml2argvtest.c | 27 ++++++++++++++++++++++
.../qemuxml2xmlout-aarch64-gic-default.xml | 1 +
.../qemuxml2xmlout-aarch64-gic-none.xml | 1 +
tests/qemuxml2xmltest.c | 3 +++
13 files changed, 183 insertions(+)
create mode 120000 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-default.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-default.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-host.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-host.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-invalid.xml
create mode 120000 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-not-arm.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-not-virt.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-gic-default.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-gic-none.xml
Obviously adjusting the default impacts this patch...
John