summaryrefslogtreecommitdiff
path: root/tests/data/cli/compare/virt-install-singleton-config-2.xml
diff options
context:
space:
mode:
authorHugues Fafard <fafardh@posteo.de>2021-08-03 19:59:34 +0200
committerCole Robinson <crobinso@redhat.com>2021-10-04 15:08:39 -0400
commit6a2bc142eb9c724854b8d1d25fe26cca78f3804e (patch)
tree9eacad3b75bf5717e39c1b30a881a86eb45809b6 /tests/data/cli/compare/virt-install-singleton-config-2.xml
parentfbcb7539c38205fe1eaa62a2bfbe2ee3bb150183 (diff)
downloadvirt-manager-6a2bc142eb9c724854b8d1d25fe26cca78f3804e.tar.gz
cli: --cpu: add support for NUMA interconnects
This includes support for the following options: * numa.interconnects.latency[0-9]*.initiator * numa.interconnects.latency[0-9]*.target * numa.interconnects.latency[0-9]*.cache * numa.interconnects.latency[0-9]*.type * numa.interconnects.latency[0-9]*.value * numa.interconnects.latency[0-9]*.unit * The same suboptions for `numa.interconnects.bandwith[0-9]*` Note that the cache= attribute is only explicitly defined for <latency> nodes in the documentation. However, since <latency> and <bandwidth> nodes are otherwise identical, the docs also don't explicitly forbid it for <bandwidth> nodes, and libvirt happily accepts XML that does specify it for for <bandwidth> nodes, this implements the cache= attribute for <bandwidth> elements as well.
Diffstat (limited to 'tests/data/cli/compare/virt-install-singleton-config-2.xml')
-rw-r--r--tests/data/cli/compare/virt-install-singleton-config-2.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/data/cli/compare/virt-install-singleton-config-2.xml b/tests/data/cli/compare/virt-install-singleton-config-2.xml
index c5a61a1e..7c774f69 100644
--- a/tests/data/cli/compare/virt-install-singleton-config-2.xml
+++ b/tests/data/cli/compare/virt-install-singleton-config-2.xml
@@ -139,8 +139,13 @@
<feature policy="disable" name="distest"/>
<feature policy="forbid" name="foo"/>
<feature policy="forbid" name="bar"/>
- <cache mode="emulate" level="3"/>
<numa>
+ <interconnects>
+ <bandwidth initiator="0" target="0" type="access" value="204800"/>
+ <bandwidth initiator="0" target="2" cache="1" type="access" value="409600" unit="KiB"/>
+ <latency initiator="0" target="0" type="access" value="5"/>
+ <latency initiator="0" target="2" cache="1" type="access" value="10" unit="ns"/>
+ </interconnects>
<cell id="0" cpus="1,2,3" memory="1024">
<distances>
<sibling id="0" value="10"/>
@@ -160,6 +165,7 @@
</cache>
</cell>
</numa>
+ <cache mode="emulate" level="3"/>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="merge"/>
@@ -417,8 +423,13 @@
<feature policy="disable" name="distest"/>
<feature policy="forbid" name="foo"/>
<feature policy="forbid" name="bar"/>
- <cache mode="emulate" level="3"/>
<numa>
+ <interconnects>
+ <bandwidth initiator="0" target="0" type="access" value="204800"/>
+ <bandwidth initiator="0" target="2" cache="1" type="access" value="409600" unit="KiB"/>
+ <latency initiator="0" target="0" type="access" value="5"/>
+ <latency initiator="0" target="2" cache="1" type="access" value="10" unit="ns"/>
+ </interconnects>
<cell id="0" cpus="1,2,3" memory="1024">
<distances>
<sibling id="0" value="10"/>
@@ -438,6 +449,7 @@
</cache>
</cell>
</numa>
+ <cache mode="emulate" level="3"/>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="merge"/>