summaryrefslogtreecommitdiff
path: root/hw/dataplane
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dataplane')
-rw-r--r--hw/dataplane/virtio-blk.c2
-rw-r--r--hw/dataplane/vring.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/hw/dataplane/virtio-blk.c b/hw/dataplane/virtio-blk.c
index 3f2da22669..8588f93114 100644
--- a/hw/dataplane/virtio-blk.c
+++ b/hw/dataplane/virtio-blk.c
@@ -16,9 +16,11 @@
#include "qemu/iov.h"
#include "event-poll.h"
#include "qemu/thread.h"
+#include "qemu/error-report.h"
#include "vring.h"
#include "ioq.h"
#include "migration/migration.h"
+#include "block/block.h"
#include "hw/virtio-blk.h"
#include "hw/dataplane/virtio-blk.h"
diff --git a/hw/dataplane/vring.c b/hw/dataplane/vring.c
index d5d4ef45d1..eff5ad8831 100644
--- a/hw/dataplane/vring.c
+++ b/hw/dataplane/vring.c
@@ -16,6 +16,7 @@
#include "trace.h"
#include "hw/dataplane/vring.h"
+#include "qemu/error-report.h"
/* Map the guest's vring to host memory */
bool vring_setup(Vring *vring, VirtIODevice *vdev, int n)