Add 'downscript=no' into kvm command line
PATCH 1/1 Add 'downscript=no' into kvm command line
If no downscript is assigned, add 'downscript=no' to avoid error:
/etc/qemu-ifdown: could not launch network script
--- client/tests/kvm/kvm_vm.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
client/tests/kvm/kvm_vm.py +2 -0
@@ -252,6 +252,8 @@ class VM: if script_path: script_path = kvm_utils.get_path(root_dir, script_path) qemu_cmd += ",downscript=%s" % script_path + else: + qemu_cmd += ",downscript=no" # Proceed to next NIC vlan += 1
Signature · 1 line
1.6.2.5
Lucas Meneghel Rodrigues
AppliedApplied, thanks!
Quoted 30 lines · Yolkfull Chow
If no downscript is assigned, add 'downscript=no' to avoid error:
/etc/qemu-ifdown: could not launch network scriptSigned-off-by Yolkfull Chow <[email protected]>---
client/tests/kvm/kvm_vm.py | 2 ++1 files changed, 2 insertions(+), 0 deletions(-)client/tests/kvm/kvm_vm.py +0
-0@@ -252,6 +252,8 @@ class VM:if
script_path:
script_path=kvm_utils.get_path(root_dir, script_path)qemu_cmd+= ",downscript=%s" %script_path
+ else:
+ qemu_cmd += ",downscript=no"
# Proceed to next NIC
vlan += 1--
1.6.2.5_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
Signature · 1 line
Lucas