forked from libvirt/libvirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add storagevol tests for format=iso
Demonstrates the bug fix in commit 0e5db76
- Loading branch information
Showing
6 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
qemu-img convert -f raw -O raw /var/lib/libvirt/images/test.iso \ | ||
/var/lib/libvirt/images/sparse.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
qemu-img create -f raw /var/lib/libvirt/images/test.iso 1024K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<volume> | ||
<name>test.iso</name> | ||
<source/> | ||
<capacity unit="MiB">1</capacity> | ||
<allocation unit="MiB">1</allocation> | ||
<target> | ||
<format type='iso'/> | ||
<path>/var/lib/libvirt/images/test.iso</path> | ||
</target> | ||
</volume> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<volume type='file'> | ||
<name>test.iso</name> | ||
<source> | ||
</source> | ||
<capacity unit='bytes'>1048576</capacity> | ||
<allocation unit='bytes'>1048576</allocation> | ||
<target> | ||
<path>/var/lib/libvirt/images/test.iso</path> | ||
<format type='iso'/> | ||
</target> | ||
</volume> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters