Commit e47deb1de5 for qemu.org
commit e47deb1de5b93d1f93b6c7c642b736581a7fbce4
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: Wed Dec 3 12:39:24 2025 +0100
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>
diff --git a/hw/virtio/iothread-vq-mapping.c b/hw/virtio/iothread-vq-mapping.c
index 15909eb933..55ce62986c 100644
--- a/hw/virtio/iothread-vq-mapping.c
+++ b/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
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h
index b804e22588..ea82ffac47 100644
--- a/include/hw/char/serial.h
+++ b/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"