summaryrefslogtreecommitdiffstats
path: root/util/qemu-timer.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-03-17 15:17:20 +0100
committerPaolo Bonzini2020-03-17 15:18:34 +0100
commit8834dcf47e8543b92e072706d3a5621762bfa106 (patch)
tree19be9b785ca48b934ef4b580f17d5a203acebed8 /util/qemu-timer.c
parentcpus: avoid pause_all_vcpus getting stuck due to race (diff)
downloadqemu-8834dcf47e8543b92e072706d3a5621762bfa106.tar.gz
qemu-8834dcf47e8543b92e072706d3a5621762bfa106.tar.xz
qemu-8834dcf47e8543b92e072706d3a5621762bfa106.zip
lockable: add QEMU_MAKE_LOCKABLE_NONNULL
This will be needed for lock guards, because if the lock is NULL the dummy for loop of the lock guard never runs. This can cause confusion and dummy warnings in the compiler, but even if it did not, aborting with a NULL pointer dereference is a less surprising behavior. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions