mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
2fa4a8b991
If using a custom test driver, storage pool file parsing was broken, and storage volume parsing was never implemented. Fix these issues, and add some examples in docs/
29 lines
735 B
XML
29 lines
735 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"/>
|
|
<pool file="testpool.xml">
|
|
<volume file="testvol.xml"/>
|
|
</pool>
|
|
|
|
<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>
|