mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-07 05:49:59 +00:00
5b5393f27a
* tests/virshtest.c: Embed literal, expected output here, rather than using virshdata/*.txt file names. Factor out some common constructs. (testCompareOutputLit): New function. (testCompareOutput): #ifdef-out, not that it's unused. * tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it. * docs/testnode.xml: Fix typo in a comment. * configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.
26 lines
663 B
XML
26 lines
663 B
XML
<node>
|
|
<!-- This file gives an example config for the mock 'test' backend
|
|
driver to libvirt. This is intended to allow reliable unit testing
|
|
of applications using libvirt. To use this with virsh, run something
|
|
like:
|
|
|
|
virsh -connect test:////path/to/this/dir/testnode.xml nodeinfo
|
|
|
|
-->
|
|
<domain file="testdomfv0.xml"/>
|
|
<domain file="testdomfc4.xml"/>
|
|
<network file="testnetpriv.xml"/>
|
|
<network file="testnetdef.xml"/>
|
|
|
|
<cpu>
|
|
<mhz>6000</mhz>
|
|
<model>i986</model>
|
|
<active>50</active>
|
|
<nodes>4</nodes>
|
|
<sockets>4</sockets>
|
|
<cores>4</cores>
|
|
<threads>2</threads>
|
|
</cpu>
|
|
<memory>8192000</memory>
|
|
</node>
|