Skip to content

Commit 345860b

Browse files
authored
Merge pull request #3735 from xiagao/bz2211373-balloon-instal
win_virtio_driver_installer: add threashold for balloon function
2 parents fdef73f + f3c43be commit 345860b

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

qemu/tests/cfg/win_virtio_driver_install_by_installer.cfg

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
balloon = balloon0
7474
balloon_dev_devid = balloon0
7575
balloon_dev_add_bus = yes
76+
guest_compare_threshold = 300
77+
guest_mem_ratio = 0.025
7678
inputs = input1
7779
input_dev_bus_type_input1 = virtio
7880
input_dev_type_input1 = mouse
@@ -121,15 +123,15 @@
121123
read_rng_cmd = "WIN_UTILS:\\random_%PROCESSOR_ARCHITECTURE%.exe"
122124
driver_test_names = 'rng'
123125
- @with_storage:
124-
images += " stg0"
125-
image_name_stg0 = "images/stg0"
126-
image_size_stg0 = 5G
127-
remove_image_stg0 = yes
128-
force_create_image_stg0 = yes
129-
driver_test_names = 'iozone'
130-
driver_test_params = {'images': 'stg0'}
131-
iozone_cmd_opitons = " -azR -r 64k -n 512M -g 1G -M -I -i 0 -i 1 -b iozone.xls -f %s:\testfile"
132-
variants:
126+
images += " stg0"
127+
image_name_stg0 = "images/stg0"
128+
image_size_stg0 = 5G
129+
remove_image_stg0 = yes
130+
force_create_image_stg0 = yes
131+
driver_test_names = 'iozone'
132+
driver_test_params = {'images': 'stg0'}
133+
iozone_cmd_opitons = " -azR -r 64k -n 512M -g 1G -M -I -i 0 -i 1 -b iozone.xls -f %s:\testfile"
134+
variants:
133135
- with_viostor:
134136
driver_name = viostor
135137
device_name = "Red Hat VirtIO SCSI controller"
@@ -210,6 +212,8 @@
210212
balloon = balloon0
211213
balloon_dev_devid = balloon0
212214
balloon_dev_add_bus = yes
215+
guest_compare_threshold = 300
216+
guest_mem_ratio = 0.025
213217
- with_vioinput:
214218
driver_name = vioinput
215219
device_name = VirtIO Input Driver

0 commit comments

Comments
 (0)