Browse Source

hw: add missing includes hidden by block/aio.h

hw/qdev/core.h being included by core headers means that it was quite
easy to forget including it, or anything that hw/qdev/core.h included.
Add the missing inclusions.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
pull/316/head
Paolo Bonzini 8 months ago
parent
commit
e47deb1de5
  1. 1
      hw/virtio/iothread-vq-mapping.c
  2. 1
      include/hw/char/serial.h

1
hw/virtio/iothread-vq-mapping.c

@ -8,6 +8,7 @@
#include "qemu/osdep.h"
#include "system/iothread.h"
#include "qemu/bitmap.h"
#include "hw/virtio/iothread-vq-mapping.h"
static bool

1
include/hw/char/serial.h

@ -26,6 +26,7 @@
#ifndef HW_SERIAL_H
#define HW_SERIAL_H
#include "hw/core/qdev.h"
#include "chardev/char-fe.h"
#include "system/memory.h"
#include "qemu/fifo8.h"

Loading…
Cancel
Save