test: Adapt to new libvirt

In libvirt commit 36785c7e775f3 the input devices are no longer
added by default in XML parsing phase rather than on domain
startup. However, we are not starting a domain just merely
playing around with its definition. Therefore we should adjust
expected outputs.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2016-01-29 11:16:29 +01:00 committed by Cole Robinson
parent 1c221fd034
commit da6b547ca4
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<device path="/dev/tzz"/>
</backend>
</tpm>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
- <graphics type="vnc" port="-1" autoport="yes"/>
+ <graphics type="vnc" port="-1" tlsPort="5902" keymap="ja"/>
<sound model="sb16"/>

View File

@ -1,5 +1,5 @@
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
</backend>
</tpm>
<graphics type="vnc" port="-1" autoport="yes"/>
- <sound model="sb16"/>
+ <sound model="pcspk"/>

View File

@ -1,11 +1,11 @@
</channel>
<input type="mouse" bus="ps2"/>
<tpm model="tpm-tis">
<backend type="passthrough">
- <device path="/dev/tzz"/>
+ <device path="/dev/tpm"/>
</backend>
</tpm>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" port="-1" autoport="yes"/>
Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the next domain shutdown.