aboutsummaryrefslogtreecommitdiffstats
path: root/testing/config
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-10-10 17:37:41 +0200
committerTobias Brunner <tobias@strongswan.org>2014-10-10 19:03:28 +0200
commitb7b2f9379d2c84f3828bcd182b10aced91917309 (patch)
tree46fcefe546e853768612d5fe974c0bd810139fe8 /testing/config
parentef90d5ab1598cd5d81556ddb18845a7d4dc75d8c (diff)
downloadstrongswan-b7b2f9379d2c84f3828bcd182b10aced91917309.tar.bz2
strongswan-b7b2f9379d2c84f3828bcd182b10aced91917309.tar.xz
testing: Enable virtio console for guests
This allows accessing the guests with `virsh console <name>`. Using a serial console would also be possible but our kernel configs have no serial drivers enabled, CONFIG_VIRTIO_CONSOLE is enabled though. So to avoid having to recompile the kernels let's do it this way, only requires rebuilding the guest images. References #729.
Diffstat (limited to 'testing/config')
-rw-r--r--testing/config/kvm/alice.xml4
-rw-r--r--testing/config/kvm/bob.xml4
-rw-r--r--testing/config/kvm/carol.xml4
-rw-r--r--testing/config/kvm/dave.xml4
-rw-r--r--testing/config/kvm/moon.xml4
-rw-r--r--testing/config/kvm/sun.xml4
-rw-r--r--testing/config/kvm/venus.xml4
-rw-r--r--testing/config/kvm/winnetou.xml4
8 files changed, 16 insertions, 16 deletions
diff --git a/testing/config/kvm/alice.xml b/testing/config/kvm/alice.xml
index 620ce5116..0bf1eb596 100644
--- a/testing/config/kvm/alice.xml
+++ b/testing/config/kvm/alice.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -53,7 +53,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/bob.xml b/testing/config/kvm/bob.xml
index caa1631cf..f2425b222 100644
--- a/testing/config/kvm/bob.xml
+++ b/testing/config/kvm/bob.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -46,7 +46,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/carol.xml b/testing/config/kvm/carol.xml
index 8f768ff5c..51a7d8336 100644
--- a/testing/config/kvm/carol.xml
+++ b/testing/config/kvm/carol.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -46,7 +46,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/dave.xml b/testing/config/kvm/dave.xml
index 3ae1da021..9e26b9629 100644
--- a/testing/config/kvm/dave.xml
+++ b/testing/config/kvm/dave.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -46,7 +46,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/moon.xml b/testing/config/kvm/moon.xml
index 975e3cec6..a7ea6e120 100644
--- a/testing/config/kvm/moon.xml
+++ b/testing/config/kvm/moon.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -53,7 +53,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/sun.xml b/testing/config/kvm/sun.xml
index 9d05027f9..b7ddec90e 100644
--- a/testing/config/kvm/sun.xml
+++ b/testing/config/kvm/sun.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -53,7 +53,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/venus.xml b/testing/config/kvm/venus.xml
index 7a65ace75..acc0d361a 100644
--- a/testing/config/kvm/venus.xml
+++ b/testing/config/kvm/venus.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -46,7 +46,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
diff --git a/testing/config/kvm/winnetou.xml b/testing/config/kvm/winnetou.xml
index 9410c73b8..9dbf3a563 100644
--- a/testing/config/kvm/winnetou.xml
+++ b/testing/config/kvm/winnetou.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda1 loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1 console=hvc0</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -46,7 +46,7 @@
<target port='0'/>
</serial>
<console type='pty'>
- <target type='serial' port='0'/>
+ <target type='virtio' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>