usage: on multi-qemu.yaml multi-qemu-0: nr_vm: 1 tbox_group: vm-2p8g queues: vm-2p8g.taishan200-2280-2s48p-256g--a1
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 b407251f..8d9dd38d 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. @@ -8,10 +9,10 @@ multi_qemu() { 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
On Thu, Nov 05, 2020 at 09:45:39AM +0800, Xiao Shenwei wrote:
usage: on multi-qemu.yaml multi-qemu-0: nr_vm: 1 tbox_group: vm-2p8g queues: vm-2p8g.taishan200-2280-2s48p-256g--a1
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 b407251f..8d9dd38d 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. @@ -8,10 +9,10 @@ multi_qemu() { 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"
whether need to check the $nr_vm and $queues has a value?
Thanks, Luan Shengde
}
multi_qemu
2.23.0
- $CCI_SRC/providers/multi-qemu -n "$hostname" -c "$nr_vm" -q "$queues"
whether need to check the $nr_vm and $queues has a value?
if define these field in multi-qemu.yaml by the right way. these parameter must exist.
if not, the job will failed. we also can get the error message. so, i think no need to check
Thanks, Shenwei
Thanks, Luan Shengde
}
multi_qemu
2.23.0
On Thu, Nov 05, 2020 at 09:45:39AM +0800, Xiao Shenwei wrote:
usage: on multi-qemu.yaml multi-qemu-0: nr_vm: 1 tbox_group: vm-2p8g queues: vm-2p8g.taishan200-2280-2s48p-256g--a1
This changelog is unclearly, how about the follow: 1. usage -> [Why] 2. describe the background about why 'queue' is needed.
-------- Thanks Yu Chuan
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 b407251f..8d9dd38d 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. @@ -8,10 +9,10 @@ multi_qemu() { 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