diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-10-10 17:37:41 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-10-10 19:03:28 +0200 |
commit | b7b2f9379d2c84f3828bcd182b10aced91917309 (patch) | |
tree | 46fcefe546e853768612d5fe974c0bd810139fe8 /testing/config/kvm/alice.xml | |
parent | ef90d5ab1598cd5d81556ddb18845a7d4dc75d8c (diff) | |
download | strongswan-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/kvm/alice.xml')
-rw-r--r-- | testing/config/kvm/alice.xml | 4 |
1 files changed, 2 insertions, 2 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'/> |