libvirt/tests/qemublocktestdata/xml2json/block-raw-noopts.xml
Peter Krempa 55111f3508 tests: qemublock: Test handling of block devices
Make sure that 'host_device' is generated for type='block'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-05-07 16:12:01 +02:00

13 lines
359 B
XML

<disk device='disk' type='block'>
<driver name='qemu' type='raw'/>
<source dev='/dev/blah'>
<privateData>
<nodenames>
<nodename type='storage' name='0123456789ABCDEF0123456789ABCDE'/>
<nodename type='format' name='0123456789ABCDEF0123456789ABCDE'/>
</nodenames>
</privateData>
</source>
<target dev='vda'/>
</disk>