mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
8f60653de3
Add a test infrastructure that will allow testing the JSON object generator used for generating data to use with blockdev-add. The resulting disk including the backing chain is validated to conform to the QAPI schema and the expected output files. The first test cases make sure that libvirt will not allow nodenames exceeding 31 chars. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
13 lines
318 B
XML
13 lines
318 B
XML
<disk device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/path'>
|
|
<privateData>
|
|
<nodenames>
|
|
<nodename type='storage' name='test2'/>
|
|
<nodename type='format' name='0123456789ABCDEF0123456789ABCDEF'/>
|
|
</nodenames>
|
|
</privateData>
|
|
</source>
|
|
<target dev='vda'/>
|
|
</disk>
|