Files
qemu-qemu-1/include/qemu/mem-reentrancy.h
Paolo Bonzini 238449947d block: reduce files included by block/aio.h
Avoid including all of qdev everywhere (the hw/core/qdev.h header in fact
brings in a lot more headers too), instead declare a couple structs for
which only a pointer type is needed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-12-27 10:11:12 +01:00

11 lines
202 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef QEMU_MEM_REENTRANCY_H
#define QEMU_MEM_REENTRANCY_H 1
typedef struct MemReentrancyGuard {
bool engaged_in_io;
} MemReentrancyGuard;
#endif