]> xenbits.xensource.com Git - libvirt.git/commit
storage: Implement backing store support for "fat:" prefix
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Mar 2020 15:04:19 +0000 (16:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2020 13:17:47 +0000 (14:17 +0100)
commit5a70f1048fb60b72d5a715d93e963ba07e041e23
tree87927e96aa22950d28856408bc56299db9ba0ece
parentc60fe3106e8b91478e54129b4b1b81cc0543399e
storage: Implement backing store support for "fat:" prefix

qemublocktest showed that we don't add the "fat:" prefix for directory
storage when formatting the backing store string. While it's unlikely to
be used it's simple enough to actually implement the support rather than
trying to forbid it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_block.c
src/util/virstoragefile.c
tests/qemublocktestdata/xml2json/dir-fat-cache-srconly.json
tests/qemublocktestdata/xml2json/dir-fat-floppy-srconly.json
tests/qemublocktestdata/xml2json/dir-fat-readonly-srconly.json
tests/virstoragetest.c