diff --git a/base-fiasco/run/env b/base-fiasco/run/env index 82c4045c86..902525f207 100644 --- a/base-fiasco/run/env +++ b/base-fiasco/run/env @@ -127,5 +127,9 @@ proc build_boot_image {binaries} { proc run_genode_until {{wait_for_re forever} {timeout_value 0}} { - spawn_qemu $wait_for_re $timeout_value } - + if {[is_amt_available]} { + spawn_amt $wait_for_re $timeout_value; + } else { + spawn_qemu $wait_for_re $timeout_value; + } +} diff --git a/base-foc/run/env b/base-foc/run/env index 31b288647a..03c9041e49 100644 --- a/base-foc/run/env +++ b/base-foc/run/env @@ -238,4 +238,9 @@ proc build_boot_image {binaries} { proc run_genode_until {{wait_for_re forever} {timeout_value 0}} { - spawn_qemu $wait_for_re $timeout_value } + if {[is_amt_available]} { + spawn_amt $wait_for_re $timeout_value; + } else { + spawn_qemu $wait_for_re $timeout_value; + } +} diff --git a/base-okl4/run/env b/base-okl4/run/env index 3b255d7b3b..dabf446435 100644 --- a/base-okl4/run/env +++ b/base-okl4/run/env @@ -197,4 +197,9 @@ proc build_boot_image {binaries} { proc run_genode_until {{wait_for_re forever} {timeout_value 0}} { - spawn_qemu $wait_for_re $timeout_value } + if {[is_amt_available]} { + spawn_amt $wait_for_re $timeout_value; + } else { + spawn_qemu $wait_for_re $timeout_value; + } +} diff --git a/base-pistachio/run/env b/base-pistachio/run/env index 0d7862eead..091a92ccd9 100644 --- a/base-pistachio/run/env +++ b/base-pistachio/run/env @@ -105,4 +105,9 @@ proc build_boot_image {binaries} { proc run_genode_until {{wait_for_re forever} {timeout_value 0}} { - spawn_qemu $wait_for_re $timeout_value } + if {[is_amt_available]} { + spawn_amt $wait_for_re $timeout_value; + } else { + spawn_qemu $wait_for_re $timeout_value; + } +}