mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
examples: testdriver: Add a nested inline <volume> example
Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
a66aa06619
commit
f1aa092334
@ -177,6 +177,28 @@
|
|||||||
</capability>
|
</capability>
|
||||||
</device>
|
</device>
|
||||||
|
|
||||||
|
<pool type='dir'>
|
||||||
|
<name>default-pool</name>
|
||||||
|
<uuid>35bb2ad9-388a-cdfe-461a-b8907f6e53fe</uuid>
|
||||||
|
<capacity>107374182400</capacity>
|
||||||
|
<allocation>0</allocation>
|
||||||
|
<available>107374182400</available>
|
||||||
|
<target>
|
||||||
|
<path>/default-pool</path>
|
||||||
|
<permissions>
|
||||||
|
<mode>0700</mode>
|
||||||
|
<owner>10736</owner>
|
||||||
|
<group>10736</group>
|
||||||
|
</permissions>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<volume>
|
||||||
|
<name>default-vol</name>
|
||||||
|
<capacity>1000000</capacity>
|
||||||
|
<allocation>50000</allocation>
|
||||||
|
<target/>
|
||||||
|
</volume>
|
||||||
|
</pool>
|
||||||
|
|
||||||
<cpu>
|
<cpu>
|
||||||
<mhz>6000</mhz>
|
<mhz>6000</mhz>
|
||||||
|
Loading…
Reference in New Issue
Block a user