From: Jonathan Rajotte Date: Mon, 19 Nov 2018 23:16:28 +0000 (-0500) Subject: Use "reset" for kvm devices in all power management case X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=820b67456677689740d3dbdebf5aa7113e15e353;p=lttng-ci.git Use "reset" for kvm devices in all power management case Signed-off-by: Jonathan Rajotte --- diff --git a/lava/devices/kvm1.jinja2 b/lava/devices/kvm1.jinja2 index c41dec2..9cf4047 100644 --- a/lava/devices/kvm1.jinja2 +++ b/lava/devices/kvm1.jinja2 @@ -1,8 +1,8 @@ {% extends 'x86.jinja2' %} {% set connection_command = 'virsh --connect qemu:///system console --force kvm1' %} {% set hard_reset_command = 'virsh --connect qemu:///system reset kvm1' %} -{% set power_off_command = 'virsh --connect qemu:///system destroy kvm1' %} -{% set power_on_command = 'virsh --connect qemu:///system start kvm1' %} +{% set power_off_command = 'virsh --connect qemu:///system reset kvm1' %} +{% set power_on_command = 'virsh --connect qemu:///system reset kvm1' %} {% set soft_reset_command = 'reboot' %} {% set boot_interface = 'net0' %} {% set kernel_extra_args = 'cpuidle.off=1' %} diff --git a/lava/devices/kvm2.jinja2 b/lava/devices/kvm2.jinja2 index ee4ad5e..4d363ae 100644 --- a/lava/devices/kvm2.jinja2 +++ b/lava/devices/kvm2.jinja2 @@ -1,8 +1,8 @@ {% extends 'x86.jinja2' %} {% set connection_command = 'virsh --connect qemu:///system console --force kvm2' %} {% set hard_reset_command = 'virsh --connect qemu:///system reset kvm2' %} -{% set power_off_command = 'virsh --connect qemu:///system destroy kvm2' %} -{% set power_on_command = 'virsh --connect qemu:///system start kvm2' %} +{% set power_off_command = 'virsh --connect qemu:///system reset kvm2' %} +{% set power_on_command = 'virsh --connect qemu:///system reset kvm2' %} {% set soft_reset_command = 'reboot' %} {% set boot_interface = 'net0' %} {% set kernel_extra_args = 'cpuidle.off=1' %}