mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +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>
15 lines
397 B
XML
15 lines
397 B
XML
<disk type='dir' device='floppy'>
|
|
<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='fda'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
<readonly/>
|
|
</disk>
|