From: Jonathan Rajotte Date: Mon, 19 Nov 2018 23:24:45 +0000 (-0500) Subject: LAVA: mark kvm devices as autostart and start after creation X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9a5429c71294ea206dd50aaecea22ef2bf524bc8;p=lttng-ci.git LAVA: mark kvm devices as autostart and start after creation Signed-off-by: Jonathan Rajotte --- diff --git a/lava/kvm/generate_kvm_virsh.sh b/lava/kvm/generate_kvm_virsh.sh index 9becc91..3f16e73 100755 --- a/lava/kvm/generate_kvm_virsh.sh +++ b/lava/kvm/generate_kvm_virsh.sh @@ -27,7 +27,9 @@ virt-install --print-xml \ --cpu host \ --serial pty \ --graphics none \ + --autostart \ --check path_in_use=off > "$tmp" virsh define --validate "$tmp" +virsh start "$1" rm -rf "$tmp"