aboutsummaryrefslogtreecommitdiffstats
path: root/testing/config/kvm
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2012-12-07 17:54:19 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:54:54 +0100
commit8ed98c137321c3f92fb06b58e69aaecf4e531cdc (patch)
tree0dca4366a75f5b44dd55d9026a97312005fe3f8c /testing/config/kvm
parent7fa27191855eaf828ec3dcf90385e0782f74d2e2 (diff)
downloadstrongswan-8ed98c137321c3f92fb06b58e69aaecf4e531cdc.tar.bz2
strongswan-8ed98c137321c3f92fb06b58e69aaecf4e531cdc.tar.xz
Switch from raw images to qcow2 format
This allows to use minimal copy-on-write clones of the base image as guest images, which in turn saves a lot of disk space.
Diffstat (limited to 'testing/config/kvm')
-rw-r--r--testing/config/kvm/alice.xml6
-rw-r--r--testing/config/kvm/bob.xml6
-rw-r--r--testing/config/kvm/carol.xml6
-rw-r--r--testing/config/kvm/dave.xml6
-rw-r--r--testing/config/kvm/moon.xml6
-rw-r--r--testing/config/kvm/sun.xml6
-rw-r--r--testing/config/kvm/venus.xml6
-rw-r--r--testing/config/kvm/winnetou.xml6
8 files changed, 24 insertions, 24 deletions
diff --git a/testing/config/kvm/alice.xml b/testing/config/kvm/alice.xml
index 275aeceb4..16a974786 100644
--- a/testing/config/kvm/alice.xml
+++ b/testing/config/kvm/alice.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/alice.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/alice.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/bob.xml b/testing/config/kvm/bob.xml
index 4ebeca1a8..723825bbb 100644
--- a/testing/config/kvm/bob.xml
+++ b/testing/config/kvm/bob.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/bob.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/bob.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/carol.xml b/testing/config/kvm/carol.xml
index f255b2211..ec018611d 100644
--- a/testing/config/kvm/carol.xml
+++ b/testing/config/kvm/carol.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/carol.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/carol.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/dave.xml b/testing/config/kvm/dave.xml
index 9f1774c9d..019191842 100644
--- a/testing/config/kvm/dave.xml
+++ b/testing/config/kvm/dave.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/dave.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/dave.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/moon.xml b/testing/config/kvm/moon.xml
index 2c50b30b5..8e5769de2 100644
--- a/testing/config/kvm/moon.xml
+++ b/testing/config/kvm/moon.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/moon.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/moon.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/sun.xml b/testing/config/kvm/sun.xml
index 70efc7707..01fed44c6 100644
--- a/testing/config/kvm/sun.xml
+++ b/testing/config/kvm/sun.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/sun.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/sun.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/venus.xml b/testing/config/kvm/venus.xml
index 8771fdf9f..3002e23c8 100644
--- a/testing/config/kvm/venus.xml
+++ b/testing/config/kvm/venus.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/venus.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/venus.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
diff --git a/testing/config/kvm/winnetou.xml b/testing/config/kvm/winnetou.xml
index 15e23ade8..3f018f1a8 100644
--- a/testing/config/kvm/winnetou.xml
+++ b/testing/config/kvm/winnetou.xml
@@ -7,7 +7,7 @@
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<kernel>/var/run/kvm-swan-kernel</kernel>
- <cmdline>root=/dev/vda loglevel=1</cmdline>
+ <cmdline>root=/dev/vda1 loglevel=1</cmdline>
<boot dev='hd'/>
</os>
<features>
@@ -22,8 +22,8 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='raw' cache='writethrough'/>
- <source file='/var/lib/libvirt/images/winnetou.img'/>
+ <driver name='qemu' type='qcow2' cache='writethrough'/>
+ <source file='/var/lib/libvirt/images/winnetou.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>