From 801e77cbc837e46d141f32338f46807d868c5b5c Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Mon, 6 Jan 2025 04:08:41 -0700 Subject: [PATCH] hw/audio/ac97: Pass error_fatal to new AUD_register_card errp arg --- hw/audio/ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c index a2d2685fcc..8c0cd38b10 100644 --- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -1285,7 +1285,7 @@ void ac97_common_init(AC97LinkState *s, PCIDevice *pci_dev, AddressSpace *as) s->pci_dev = pci_dev; s->as = as; - AUD_register_card("ac97", &s->card); + AUD_register_card("ac97", &s->card, &error_fatal); ac97_on_reset(s); }