[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes with qemu-system-ppc64

From: Paolo Bonzini
Subject: Re: Crashes with qemu-system-ppc64
Date: Wed, 24 Mar 2021 10:17:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 24/03/21 00:35, Philippe Mathieu-Daudé wrote:
Hmmm does this assert() matches your comment?

-- >8 --
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index cefc5eaa0a9..41cbee77d14 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -1130,6 +1130,8 @@ Object *qdev_get_machine(void)
      static Object *dev;

+    assert(phase_check(PHASE_MACHINE_CREATED));

Very nice use of phase_check!  Kudos.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]