diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-06-20 17:54:50 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-06-20 17:54:50 -0400 |
commit | d0e621364385a68ddf9b4c306d40b4489785ce01 (patch) | |
tree | 43770020c3e77891d0c75ac07d66c92dc69df2fd /tests | |
parent | d51541e155bd29389f804425356690ea55465551 (diff) | |
download | virt-manager-d0e621364385a68ddf9b4c306d40b4489785ce01.tar.gz |
cli: Add --memorybacking allocation.threads
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/cli/compare/virt-install-many-devices.xml | 2 | ||||
-rw-r--r-- | tests/test_cli.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml index f6606a18..7a3ac7c3 100644 --- a/tests/data/cli/compare/virt-install-many-devices.xml +++ b/tests/data/cli/compare/virt-install-many-devices.xml @@ -43,7 +43,7 @@ <access mode="shared"/> <source type="file"/> <discard/> - <allocation mode="immediate"/> + <allocation mode="immediate" threads="8"/> </memoryBacking> <vcpu placement="static">9</vcpu> <vcpus> diff --git a/tests/test_cli.py b/tests/test_cli.py index 19399452..0ad72e6b 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -543,7 +543,7 @@ memorytune0.vcpus=0-3,memorytune0.node0.id=0,memorytune0.node0.bandwidth=60 --blkiotune weight=100,device_path=/home/test/1.img,device_weight=200,read_bytes_sec=10000,write_bytes_sec=10000,read_iops_sec=20000,write_iops_sec=20000 ---memorybacking size=1,unit='G',nodeset=0,1,nosharepages=yes,locked=yes,discard=yes,allocation.mode=immediate,access_mode=shared,source_type=file,hugepages.page.size=12,hugepages.page1.size=1234,hugepages.page1.unit=MB,hugepages.page1.nodeset=2 +--memorybacking size=1,unit='G',nodeset=0,1,nosharepages=yes,locked=yes,discard=yes,allocation.mode=immediate,access_mode=shared,source_type=file,hugepages.page.size=12,hugepages.page1.size=1234,hugepages.page1.unit=MB,hugepages.page1.nodeset=2,allocation.threads=8 --iothreads iothreads=5,iothreadids.iothread1.id=1,iothreadids.iothread2.id=2 |