On 11/05/2012 06:37 AM, Michal Privoznik wrote:
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
Thanks. ACK series.
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
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org