Browse Source
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>pull/316/head
12 changed files with 23 additions and 11 deletions
@ -0,0 +1,10 @@ |
|||
/* 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 |
|||
Loading…
Reference in new issue