mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55: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
319 B
XML
13 lines
319 B
XML
<disk device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/path'>
|
|
<privateData>
|
|
<nodenames>
|
|
<nodename type='storage' name='0123456789ABCDEF0123456789ABCDEF0'/>
|
|
<nodename type='format' name='test1'/>
|
|
</nodenames>
|
|
</privateData>
|
|
</source>
|
|
<target dev='vda'/>
|
|
</disk>
|