mirror of https://gitee.com/openkylin/libvirt.git
tests: Remove qcow2 encryption from storagevol tests
We're about to disallow creation of a qcow2 encrypted storage volume, so let's remove the qcow encryption element from the tests which are testing whether other format='qcow2' related features work properly. Signed-off-by: John Ferlan <jferlan@redhat.com> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
af0e6580cd
commit
a02d879858
|
@ -1,3 +1,3 @@
|
|||
qemu-img create -f qcow2 -b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on,compat=1.1 \
|
||||
-o backing_fmt=raw,compat=1.1 \
|
||||
/var/lib/libvirt/images/OtherDemo.img 5242880K
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img create -f qcow2 -b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on,compat=0.10 \
|
||||
-o backing_fmt=raw,compat=0.10 \
|
||||
/var/lib/libvirt/images/OtherDemo.img 5242880K
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img convert -f raw -O qcow2 \
|
||||
-o encryption=on,compat=0.10 \
|
||||
-o compat=0.10 \
|
||||
/dev/HostVG/Swap /var/lib/libvirt/images/OtherDemo.img
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img create -f qcow2 -b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on,compat=1.1,lazy_refcounts \
|
||||
-o backing_fmt=raw,compat=1.1,lazy_refcounts \
|
||||
/var/lib/libvirt/images/OtherDemo.img 5242880K
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img convert -f raw -O qcow2 \
|
||||
-o encryption=on,preallocation=metadata,compat=0.10 \
|
||||
-o preallocation=metadata,compat=0.10 \
|
||||
/var/lib/libvirt/images/sparse.img /var/lib/libvirt/images/OtherDemo.img
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img create -f qcow2 \
|
||||
-o encryption=on,preallocation=metadata,compat=0.10 \
|
||||
-o preallocation=metadata,compat=0.10 \
|
||||
/var/lib/libvirt/images/OtherDemo.img 5242880K
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
qemu-img convert -f raw -O qcow2 \
|
||||
-o encryption=on,preallocation=falloc,compat=0.10 \
|
||||
-o preallocation=falloc,compat=0.10 \
|
||||
/var/lib/libvirt/images/sparse.img \
|
||||
/var/lib/libvirt/images/OtherDemo.img
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
qemu-img create \
|
||||
-f qcow2 \
|
||||
-b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on,compat=0.10 \
|
||||
-o backing_fmt=raw,compat=0.10 \
|
||||
/var/lib/libvirt/images/OtherDemo.img
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
qemu-img create -f qcow2 -b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on,nocow=on,compat=0.10 \
|
||||
-o backing_fmt=raw,nocow=on,compat=0.10 \
|
||||
/var/lib/libvirt/images/OtherDemo.img 5242880K
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<compat>0.10</compat>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<features/>
|
||||
</target>
|
||||
<backingStore>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<compat>1.1</compat>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
|
|
|
@ -14,8 +14,5 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
</volume>
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
<backingStore>
|
||||
<path>/dev/null</path>
|
||||
|
|
|
@ -12,8 +12,5 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
</volume>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<nocow/>
|
||||
</target>
|
||||
<backingStore>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
<backingStore>
|
||||
<path>/dev/null</path>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<compat>0.10</compat>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<compat>1.1</compat>
|
||||
<features/>
|
||||
</target>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
<compat>1.1</compat>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
|
|
|
@ -14,8 +14,5 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
</volume>
|
||||
|
|
|
@ -14,8 +14,5 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
</volume>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
<backingStore>
|
||||
<path>/dev/null</path>
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
<group>0</group>
|
||||
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
||||
</permissions>
|
||||
<encryption format='qcow'>
|
||||
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
|
||||
</encryption>
|
||||
</target>
|
||||
<backingStore>
|
||||
<path>/dev/null</path>
|
||||
|
|
Loading…
Reference in New Issue