From 8a350c231f8ae6de795d8fccc3a500a70130d940 Mon Sep 17 00:00:00 2001 From: Shuping Cui Date: Wed, 16 Dec 2015 14:33:36 +0800 Subject: [PATCH] qemu/tests/cfg: Add new scenario for multi_host Do nic driver unload/load for migration. Signed-off-by: Shuping Cui --- qemu/tests/cfg/multi_host.cfg | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qemu/tests/cfg/multi_host.cfg b/qemu/tests/cfg/multi_host.cfg index b8894869..7cc0785d 100644 --- a/qemu/tests/cfg/multi_host.cfg +++ b/qemu/tests/cfg/multi_host.cfg @@ -332,6 +332,31 @@ attempts = 100 attempts_timeout = 1 + - with_module_reload: + type = migration_multi_host_with_stress + preprocess_env = yes + #serial_login = yes + #not_login_after_mig = yes + bg_stress_test = driver_load + repeats = 20 + nics += " nic2" + virtio_net: + module_name = virtio_net + nic_model_nic2 = e1000 + e1000: + module_name = e1000 + nic_model_nic2 = virtio_net + rtl8139: + module_name = 8139cp + nic_model_nic2 = virtio_net + driver_id_pattern = ${module_name} + driver_id_cmd = lsmod | grep ${module_name} + driver_load_cmd = modprobe ${module_name} + driver_unload_cmd = modprobe -r ${module_name} + test_after_load = file_transfer + filesize = 100 + transfer_timeout = 1000 + - cpuflags_multi_host: not_preprocess_host1 = yes variants: -- GitLab