[libvirt] [PATCH 28/35] tests: qemublock: Add test-case for the 'vvfat' driver in qemu
John Ferlan
jferlan at redhat.com
Wed May 2 22:55:13 UTC 2018
On 04/25/2018 11:15 AM, Peter Krempa wrote:
> 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
>
May as well show dir-fat-floppy.xml too
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> tests/qemublocktest.c | 2 ++
> tests/qemublocktestdata/xml2json/dir-fat-floppy.json | 14 ++++++++++++++
> tests/qemublocktestdata/xml2json/dir-fat-floppy.xml | 14 ++++++++++++++
> tests/qemublocktestdata/xml2json/dir-fat-readonly.json | 14 ++++++++++++++
> tests/qemublocktestdata/xml2json/dir-fat-readonly.xml | 13 +++++++++++++
> 5 files changed, 57 insertions(+)
> create mode 100644 tests/qemublocktestdata/xml2json/dir-fat-floppy.json
> create mode 100644 tests/qemublocktestdata/xml2json/dir-fat-floppy.xml
> create mode 100644 tests/qemublocktestdata/xml2json/dir-fat-readonly.json
> create mode 100644 tests/qemublocktestdata/xml2json/dir-fat-readonly.xml
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list