From 9a5429c71294ea206dd50aaecea22ef2bf524bc8 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 19 Nov 2018 18:24:45 -0500 Subject: [PATCH] LAVA: mark kvm devices as autostart and start after creation Signed-off-by: Jonathan Rajotte --- lava/kvm/generate_kvm_virsh.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.34.1