From a38c04042c83b65e54b07c1f0254a8347959abb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Thu, 8 Feb 2024 17:57:06 +0100 Subject: [PATCH] fix(x86_64-uefi): exit qemu on panic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index fdd4c1f7..d32e6b1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -661,6 +661,7 @@ checksum = "a79fcb420624743c895bad0f9480fbc2f64e7c8d8611fb1ada6bdd799942feb4" dependencies = [ "cfg-if", "log", + "qemu-exit", "uefi", ] diff --git a/Cargo.toml b/Cargo.toml index 705f2506..389b2989 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ spinning_top = "0.3" [target.'cfg(target_os = "uefi")'.dependencies] uefi = "0.26" -uefi-services = "0.23" +uefi-services = { version = "0.23", features = ["qemu"] } qemu-exit = "3" [target.'cfg(target_arch = "riscv64")'.dependencies]