diff options
author | Lin Ma <lma@suse.com> | 2022-08-19 18:18:50 +0800 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-08-20 10:03:11 -0400 |
commit | fbdf05162606e4d70506b65d0dd647a59f229253 (patch) | |
tree | 4c6055eb3aebc0f6103ed6de6bbc35ad9c12c380 /tests/data | |
parent | c22a876e9a63cb7114e2b008f2e24682c8bbef3e (diff) | |
download | virt-manager-fbdf05162606e4d70506b65d0dd647a59f229253.tar.gz |
cli: --cpu: Add maxphysaddr.{mode,bits} options
This commit added support for cpu physical address bits control, It's
useful for VMs with huge amount of ram.
E.g.
--cpu Cascadelake-Server,maxphysaddr.mode=emulate,maxphysaddr.bits=46
Signed-off-by: Lin Ma <lma@suse.com>
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/cli/compare/virt-install-many-devices.xml | 1 | ||||
-rw-r--r-- | tests/data/cli/compare/virt-install-testdriver-edgecases.xml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml index c27512d1..e4a7da8f 100644 --- a/tests/data/cli/compare/virt-install-many-devices.xml +++ b/tests/data/cli/compare/virt-install-many-devices.xml @@ -194,6 +194,7 @@ <bandwidth initiator="0" target="2" cache="1" type="access" value="409600" unit="KiB"/> </interconnects> </numa> + <maxphysaddr mode="emulate" bits="46"/> </cpu> <clock offset="utc"> <timer name="pit" tickpolicy="catchup" present="yes"/> diff --git a/tests/data/cli/compare/virt-install-testdriver-edgecases.xml b/tests/data/cli/compare/virt-install-testdriver-edgecases.xml index f129d089..3cc385c0 100644 --- a/tests/data/cli/compare/virt-install-testdriver-edgecases.xml +++ b/tests/data/cli/compare/virt-install-testdriver-edgecases.xml @@ -17,7 +17,9 @@ <pae/> <vmport state="off"/> </features> - <cpu mode="host-passthrough" migratable="on"/> + <cpu mode="host-passthrough" migratable="on"> + <maxphysaddr mode="passthrough"/> + </cpu> <clock offset="utc"/> <pm> <suspend-to-mem enabled="no"/> |