mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
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>
11 lines
202 B
C
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
|