]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemublock: Add test-case for the 'vvfat' driver in qemu
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Mar 2018 07:00:19 +0000 (08:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 May 2018 13:55:16 +0000 (15:55 +0200)
commit7e441e2e2c3d997b024b3caaca1634b1574b3fb5
tree6ee58eba2cff94d153ed303a02f7b15305560621
parentb54af513d62c8d9f8fc444160fd2689bdb3c5ae1
tests: qemublock: Add test-case for the 'vvfat' driver in qemu

Test mapping of the 'FAT' disk format to 'vvfat' in qemu.

The top level disk image would generate the following '-drive' cmdline:

dir-fat-readonly.xml:
-drive file=fat:/var/somefiles,if=none,id=drive-dummy,readonly=on
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

dir-fat-floppy.xml
-drive file=fat:floppy:/var/somefiles,if=none,id=drive-dummy,readonly=on

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemublocktest.c
tests/qemublocktestdata/xml2json/dir-fat-floppy.json [new file with mode: 0644]
tests/qemublocktestdata/xml2json/dir-fat-floppy.xml [new file with mode: 0644]
tests/qemublocktestdata/xml2json/dir-fat-readonly.json [new file with mode: 0644]
tests/qemublocktestdata/xml2json/dir-fat-readonly.xml [new file with mode: 0644]