The order is basically random for now, with one constraint:
CCID must be preceded with USB.
diff to v1:
-split into 2 patches
-add a test case
Michal Privoznik (3):
qemu: Wrap controllers code into dummy loop
qemu: Add controllers in specified order
tests: Add test for controller order
src/qemu/qemu_command.c | 101 +++++++++++---------
.../qemuxml2argv-controller-order.args | 28 ++++++
.../qemuxml2argv-controller-order.xml | 89 +++++++++++++++++
tests/qemuxml2argvtest.c | 6 +
4 files changed, 177 insertions(+), 47 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-controller-order.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-controller-order.xml
--
1.7.8.6