]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Revert "main-loop: Disable GLOBAL_STATE_CODE() assertions"
authorHanna Reitz <hreitz@redhat.com>
Wed, 27 Apr 2022 11:40:56 +0000 (13:40 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 4 May 2022 13:55:23 +0000 (15:55 +0200)
This reverts commit b1c073490553f80594b903ceedfc7c1aef6b1b19.  (We
wanted to do so once the 7.1 tree opens, which has happened.  The issue
reported in https://gitlab.com/qemu-project/qemu/-/issues/945 should be
fixed by the preceding patches.)

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220427114057.36651-4-hreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/qemu/main-loop.h

index d3750c8e7643bdfbccf1e3c28cd7e0fee442bfce..89bd9edefbab0d74ff7e48a8df6b9cbf3ae57d8f 100644 (file)
@@ -284,8 +284,7 @@ bool qemu_in_main_thread(void);
 #else
 #define GLOBAL_STATE_CODE()                                         \
     do {                                                            \
-        /* FIXME: Re-enable after 7.0 release */                    \
-        /* assert(qemu_in_main_thread()); */                        \
+        assert(qemu_in_main_thread());                              \
     } while (0)
 #endif /* CONFIG_COCOA */