]> git.proxmox.com Git - mirror_qemu.git/commit
cpus: use coroutine TLS macros for iothread_locked
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 22 Feb 2022 14:01:50 +0000 (14:01 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Mar 2022 17:14:40 +0000 (18:14 +0100)
commitd5d2b15ecf62c662985983ca065ddeeec48fd248
tree346ba85ecf6115b6531b1924cc3eae3a5a114304
parent17c78154b0ba2237c37f3e4a95140b754cb6ac8b
cpus: use coroutine TLS macros for iothread_locked

qemu_mutex_iothread_locked() may be used from coroutines. Standard
__thread variables cannot be used by coroutines. Use the coroutine TLS
macros instead.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220222140150.27240-5-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
softmmu/cpus.c