mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
ac71f4e6d5
Test that the 'aio' option is applied correctly for the 'file' protocol backend and across the backing chain. The top level disk image would generate the following '-drive' cmdline: file-backing_basic-aio_threads: -drive file=/var/lib/libvirt/images/a,format=qcow,if=none,id=drive-dummy,aio=threads -device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy file-raw-aio_native: -drive file=/path/to/i.img,format=raw,if=none,id=drive-dummy,cache=none,aio=native -device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy,write-cache=on Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
13 lines
325 B
XML
13 lines
325 B
XML
<disk device='disk'>
|
|
<driver name='qemu' type='raw' io='native' cache='none'/>
|
|
<source file='/path/to/i.img'>
|
|
<privateData>
|
|
<nodenames>
|
|
<nodename type='storage' name='test2'/>
|
|
<nodename type='format' name='test1'/>
|
|
</nodenames>
|
|
</privateData>
|
|
</source>
|
|
<target dev='vda'/>
|
|
</disk>
|