mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
7e441e2e2c
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>
14 lines
326 B
XML
14 lines
326 B
XML
<disk type='dir' device='disk'>
|
|
<driver name='qemu' type='fat'/>
|
|
<source dir='/var/somefiles'>
|
|
<privateData>
|
|
<nodenames>
|
|
<nodename type='storage' name='node-s'/>
|
|
<nodename type='format' name='node-f'/>
|
|
</nodenames>
|
|
</privateData>
|
|
</source>
|
|
<target dev='vda'/>
|
|
<readonly/>
|
|
</disk>
|