summaryrefslogtreecommitdiff
path: root/tests/xmconfigdata
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2010-07-22 13:56:21 -0400
committerCole Robinson <crobinso@redhat.com>2010-07-28 16:47:59 -0400
commit6b24755235f47b38e5185d94f4cccd96538587dc (patch)
tree32e068e6cac50d3f1dc36b8899be6dd59e8ea710 /tests/xmconfigdata
parent6488ea2c5cf1d060e507991cfab11a45dd25588a (diff)
downloadlibvirt-6b24755235f47b38e5185d94f4cccd96538587dc.tar.gz
domain conf: Track <console> target type
All <console> devices now export a <target> type attribute. QEMU defaults to 'serial', UML defaults to 'uml, xen can be either 'serial' or 'xen' depending on fullvirt. Understandably there is lots of test fallout. This will be used to differentiate between a serial vs. virtio console for QEMU. Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests/xmconfigdata')
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-file.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-null.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-pipe.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-pty.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-stdio.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-tcp.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-udp.xml2
-rw-r--r--tests/xmconfigdata/test-fullvirt-serial-unix.xml2
-rw-r--r--tests/xmconfigdata/test-no-source-cdrom.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-net-e1000.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-net-vifname.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-new-pvfb.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml2
-rw-r--r--tests/xmconfigdata/test-paravirt-old-pvfb.xml2
-rw-r--r--tests/xmconfigdata/test-pci-devs.xml2
17 files changed, 17 insertions, 17 deletions
diff --git a/tests/xmconfigdata/test-fullvirt-serial-file.xml b/tests/xmconfigdata/test-fullvirt-serial-file.xml
index a601ee20d1..02ecaa2f6b 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-file.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-file.xml
@@ -42,7 +42,7 @@
</serial>
<console type='file'>
<source path='/tmp/serial.log'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-null.xml b/tests/xmconfigdata/test-fullvirt-serial-null.xml
index 94b403497d..542b779e11 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-null.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-null.xml
@@ -40,7 +40,7 @@
<target port='0'/>
</serial>
<console type='null'>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-pipe.xml b/tests/xmconfigdata/test-fullvirt-serial-pipe.xml
index 217806ad6c..61501685af 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-pipe.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-pipe.xml
@@ -42,7 +42,7 @@
</serial>
<console type='pipe'>
<source path='/tmp/serial.pipe'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-pty.xml b/tests/xmconfigdata/test-fullvirt-serial-pty.xml
index 45760874f8..53e6d4faab 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-pty.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-pty.xml
@@ -40,7 +40,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-stdio.xml b/tests/xmconfigdata/test-fullvirt-serial-stdio.xml
index 8717799ec8..b54048102e 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-stdio.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-stdio.xml
@@ -40,7 +40,7 @@
<target port='0'/>
</serial>
<console type='stdio'>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml b/tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml
index 52c433e91e..31c5de832c 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml
@@ -44,7 +44,7 @@
<console type='tcp'>
<source mode='bind' host='127.0.0.1' service='9999'/>
<protocol type='telnet'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-tcp.xml b/tests/xmconfigdata/test-fullvirt-serial-tcp.xml
index 062cf54b5a..3b2994af33 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-tcp.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-tcp.xml
@@ -44,7 +44,7 @@
<console type='tcp'>
<source mode='connect' host='127.0.0.1' service='7777'/>
<protocol type='raw'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-udp.xml b/tests/xmconfigdata/test-fullvirt-serial-udp.xml
index 7871310a96..66b3824694 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-udp.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-udp.xml
@@ -44,7 +44,7 @@
<console type='udp'>
<source mode='bind' host='0.0.0.0' service='99998'/>
<source mode='connect' host='127.0.0.1' service='9999'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-fullvirt-serial-unix.xml b/tests/xmconfigdata/test-fullvirt-serial-unix.xml
index e517b33b5d..1ffe6be41e 100644
--- a/tests/xmconfigdata/test-fullvirt-serial-unix.xml
+++ b/tests/xmconfigdata/test-fullvirt-serial-unix.xml
@@ -42,7 +42,7 @@
</serial>
<console type='unix'>
<source mode='bind' path='/tmp/serial.sock'/>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-no-source-cdrom.xml b/tests/xmconfigdata/test-no-source-cdrom.xml
index 9b1dd0174c..41145108e1 100644
--- a/tests/xmconfigdata/test-no-source-cdrom.xml
+++ b/tests/xmconfigdata/test-no-source-cdrom.xml
@@ -39,7 +39,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>
diff --git a/tests/xmconfigdata/test-paravirt-net-e1000.xml b/tests/xmconfigdata/test-paravirt-net-e1000.xml
index bb8308b182..d709e6904e 100644
--- a/tests/xmconfigdata/test-paravirt-net-e1000.xml
+++ b/tests/xmconfigdata/test-paravirt-net-e1000.xml
@@ -25,7 +25,7 @@
<model type='e1000'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-paravirt-net-vifname.xml b/tests/xmconfigdata/test-paravirt-net-vifname.xml
index 981457752b..b6c4739bca 100644
--- a/tests/xmconfigdata/test-paravirt-net-vifname.xml
+++ b/tests/xmconfigdata/test-paravirt-net-vifname.xml
@@ -26,7 +26,7 @@
<model type='e1000'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml b/tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml
index eb95fd43cf..39325ea3a1 100644
--- a/tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml
+++ b/tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml
@@ -24,7 +24,7 @@
<script path='vif-bridge'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-paravirt-new-pvfb.xml b/tests/xmconfigdata/test-paravirt-new-pvfb.xml
index f359ba1e55..40c79cb574 100644
--- a/tests/xmconfigdata/test-paravirt-new-pvfb.xml
+++ b/tests/xmconfigdata/test-paravirt-new-pvfb.xml
@@ -24,7 +24,7 @@
<script path='vif-bridge'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml b/tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml
index eb95fd43cf..39325ea3a1 100644
--- a/tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml
+++ b/tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml
@@ -24,7 +24,7 @@
<script path='vif-bridge'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-paravirt-old-pvfb.xml b/tests/xmconfigdata/test-paravirt-old-pvfb.xml
index f359ba1e55..40c79cb574 100644
--- a/tests/xmconfigdata/test-paravirt-old-pvfb.xml
+++ b/tests/xmconfigdata/test-paravirt-old-pvfb.xml
@@ -24,7 +24,7 @@
<script path='vif-bridge'/>
</interface>
<console type='pty'>
- <target port='0'/>
+ <target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>
diff --git a/tests/xmconfigdata/test-pci-devs.xml b/tests/xmconfigdata/test-pci-devs.xml
index 09456d033d..74bc227cf2 100644
--- a/tests/xmconfigdata/test-pci-devs.xml
+++ b/tests/xmconfigdata/test-pci-devs.xml
@@ -39,7 +39,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target port='0'/>
+ <target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>