mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
tests: domcaps: Add a default 'empty' test
The 'empty' demonstrates XML generated when only bare minimum caps data has been filled in. This will demonstrate changes that alter the default XML output. Acked-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
c2195bee24
commit
5c11e46065
25
tests/domaincapsschemadata/empty.xml
Normal file
25
tests/domaincapsschemadata/empty.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<domainCapabilities>
|
||||
<path>/bin/emulatorbin</path>
|
||||
<domain>kvm</domain>
|
||||
<machine>my-machine-type</machine>
|
||||
<arch>x86_64</arch>
|
||||
<iothreads supported='no'/>
|
||||
<os supported='no'/>
|
||||
<cpu>
|
||||
<mode name='host-passthrough' supported='no'/>
|
||||
<mode name='host-model' supported='no'/>
|
||||
<mode name='custom' supported='no'/>
|
||||
</cpu>
|
||||
<devices>
|
||||
<disk supported='no'/>
|
||||
<graphics supported='no'/>
|
||||
<video supported='no'/>
|
||||
<hostdev supported='no'/>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='no'/>
|
||||
<vmcoreinfo supported='no'/>
|
||||
<genid supported='no'/>
|
||||
<sev supported='no'/>
|
||||
</features>
|
||||
</domainCapabilities>
|
@ -433,6 +433,9 @@ mymain(void)
|
||||
VIR_FREE(name); \
|
||||
} while (0)
|
||||
|
||||
DO_TEST("empty", "/bin/emulatorbin", "my-machine-type",
|
||||
"x86_64", VIR_DOMAIN_VIRT_KVM, CAPS_NONE);
|
||||
|
||||
#if WITH_QEMU
|
||||
|
||||
DO_TEST_QEMU("1.7.0", "caps_1.7.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user