Ok, so consider this squashed in, I've forgot to regenerate the tests after
rebase to current HEAD and there seems to be new tests.
---
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-multi.xml
b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-multi.xml
index 5f62468..eee1a0b 100644
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-multi.xml
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-multi.xml
@@ -58,6 +58,8 @@
<master startport='4'/>
</controller>
<controller type='sata' index='0'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
<video>
<model type='qxl' ram='65536' vram='32768'
vgamem='8192' heads='1'/>
</video>
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-reorder.xml
b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-reorder.xml
index 1791b7a..83ad8fb 100644
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-reorder.xml
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2-reorder.xml
@@ -58,6 +58,8 @@
<master startport='0'/>
</controller>
<controller type='sata' index='0'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
<video>
<model type='qxl' ram='65536' vram='32768'
vgamem='8192' heads='1'/>
</video>
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2.xml
b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2.xml
index 2dfd9d5..70024a0 100644
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2.xml
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35-usb2.xml
@@ -38,6 +38,8 @@
<master startport='4'/>
</controller>
<controller type='sata' index='0'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
<video>
<model type='qxl' ram='65536' vram='32768'
vgamem='8192' heads='1'/>
</video>