From 23e1de2604017ac67b08441aac76e10ed9cc6f85 Mon Sep 17 00:00:00 2001 From: Johannes Thumshirn Date: Tue, 13 Jun 2023 04:52:43 -0700 Subject: [PATCH] architectures.py: fix Qemu args for watchdog Newer versions of Qemu dropped support for the '-watchdog' command line argument. Use '-device i6300esb -action watchdog=pause' instead. Signed-off-by: Johannes Thumshirn --- virtme/architectures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtme/architectures.py b/virtme/architectures.py index ba16138..6bc5e42 100644 --- a/virtme/architectures.py +++ b/virtme/architectures.py @@ -71,7 +71,7 @@ def qemuargs(is_native): ret = Arch.qemuargs(is_native) # Add a watchdog. This is useful for testing. - ret.extend(['-watchdog', 'i6300esb']) + ret.extend(['-device', 'i6300esb', '-action', 'watchdog=pause']) if is_native and os.access('/dev/kvm', os.R_OK): # If we're likely to use KVM, request a full-featured CPU.