On Wed, Nov 04, 2020 at 11:39:14AM +0800, Xiao Shenwei wrote:
add queues field on multi-qemu.yaml:
pls ignore this patch
Thanks, Shenwei
multi-qemu-0: nr_vm: 2 tbox_group: vm-2p8g queues: vm-2p8g.$HOSTNAME,xxx
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
daemon/multi-qemu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/daemon/multi-qemu b/daemon/multi-qemu index 5f4d976b..3918a6f6 100755 --- a/daemon/multi-qemu +++ b/daemon/multi-qemu @@ -1,6 +1,7 @@ #!/bin/sh # - tbox_group # - nr_vm +# - queues
# SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved. @@ -9,10 +10,10 @@ multi_qemu() { [ -f "/usr/share/qemu-efi-aarch64/QEMU_EFI.fd" ] || return export CCI_SRC=/c/compass-ci
- local hostname=$tbox_group--$HOSTNAME
local hostname=$tbox_group.$HOSTNAME
cd "$CACHE_DIR"
- $CCI_SRC/providers/multi-qemu "$hostname" "$nr_vm"
- $CCI_SRC/providers/multi-qemu -n "$hostname" -c "$nr_vm" -q "$queues"
}
multi_qemu
2.23.0