tests: fix tests with latest libvirt from git

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2014-01-30 11:31:28 +01:00 committed by Cole Robinson
parent dde0012732
commit 3a4be995db
10 changed files with 36 additions and 36 deletions

View File

@ -1,9 +1,9 @@
--- Original XML
+++ Altered XML
@@ -301,5 +301,9 @@
<protocol type="raw"/>
</backend>
</rng>
@@ -304,5 +304,9 @@
<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <disk type="file" device="disk">
+ <source file="/tmp/__virtinst_cli_exist1.img"/>
+ <target dev="vdf" bus="virtio"/>

View File

@ -1,9 +1,9 @@
--- Original XML
+++ Altered XML
@@ -301,5 +301,9 @@
<protocol type="raw"/>
</backend>
</rng>
@@ -304,5 +304,9 @@
<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <disk type="file" device="disk">
+ <source file="/tmp/__virtinst_cli_new1.img"/>
+ <target dev="vdd"/>

View File

@ -1,9 +1,9 @@
--- Original XML
+++ Altered XML
@@ -301,5 +301,9 @@
<protocol type="raw"/>
</backend>
</rng>
@@ -304,5 +304,9 @@
<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <disk type="file" device="disk">
+ <source file="/tmp/__virtinst_cli_exist1.img"/>
+ <target dev="vdd"/>

View File

@ -1,9 +1,9 @@
--- Original XML
+++ Altered XML
@@ -301,5 +301,10 @@
<protocol type="raw"/>
</backend>
</rng>
@@ -304,5 +304,10 @@
<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <hostdev mode="subsystem" type="pci" managed="yes">
+ <source>
+ <address domain="0" bus="0" slot="25" function="0"/>

View File

@ -1,9 +1,9 @@
--- Original XML
+++ Altered XML
@@ -301,5 +301,6 @@
<protocol type="raw"/>
</backend>
</rng>
@@ -304,5 +304,6 @@
<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <sound model="pcspk"/>
</devices>
</domain>

View File

@ -12,9 +12,9 @@
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
@@ -302,4 +297,5 @@
</backend>
</rng>
@@ -305,4 +300,5 @@
<address type="isa" iobase="0x505"/>
</panic>
</devices>
+ <clock offset="utc"/>
</domain>

View File

@ -24,9 +24,9 @@
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
@@ -302,4 +285,7 @@
</backend>
</rng>
@@ -305,4 +288,7 @@
<address type="isa" iobase="0x505"/>
</panic>
</devices>
+ <cpu mode="custom" match="exact">
+ <model>host-passthrough</model>

View File

@ -15,9 +15,9 @@
<memory unit="KiB">409600</memory>
<currentMemory unit="KiB">204800</currentMemory>
<memoryBacking>
@@ -302,4 +302,5 @@
</backend>
</rng>
@@ -305,4 +305,5 @@
<address type="isa" iobase="0x505"/>
</panic>
</devices>
+ <title>This is my,funky=new title</title>
</domain>

View File

@ -1,8 +1,8 @@
--- Original XML
+++ Altered XML
@@ -302,4 +302,7 @@
</backend>
</rng>
@@ -305,4 +305,7 @@
<address type="isa" iobase="0x505"/>
</panic>
</devices>
+ <seclabel relabel="yes">
+ <label>foo,bar,baz,UNKNOWN=val</label>

View File

@ -1,18 +1,18 @@
--- Original XML
+++ Altered XML
@@ -84,12 +84,6 @@
@@ -83,12 +83,6 @@
<target dev="sdb" bus="scsi"/>
<readonly/>
<address type="drive" controller="0" bus="0" target="0" unit="1"/>
</disk>
- </disk>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2" cache="none"/>
- <source file="/tmp/foobar2"/>
- <target dev="vdc" bus="virtio"/>
- <shareable/>
- </disk>
</disk>
<disk type="block" device="disk">
<source dev="/dev/default-pool/overlay.img"/>
<target dev="sdd" bus="usb"/>
Domain 'test-many-devices' defined successfully.
Changes will take effect after the next domain shutdown.