]> Git Repo - qemu.git/commitdiff
include/hw/virtio: Break inclusion loop
authorMarkus Armbruster <[email protected]>
Thu, 22 Dec 2022 12:08:10 +0000 (13:08 +0100)
committerMichael S. Tsirkin <[email protected]>
Sun, 8 Jan 2023 06:54:22 +0000 (01:54 -0500)
hw/virtio/virtio.h and hw/virtio/vhost.h include each other.  The
former doesn't actually need the latter, so drop that inclusion to
break the loop.

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Message-Id: <20221222120813[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
hw/virtio/virtio-qmp.h
hw/virtio/virtio.c
include/hw/virtio/virtio.h

index 59681082e58b1a9c2a210c885770c99a9f77840d..8af5f5e65a1a5cd2cbe1f88866ab8bc88ed65361 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "qapi/qapi-types-virtio.h"
 #include "hw/virtio/virtio.h"
+#include "hw/virtio/vhost.h"
 
 #include "qemu/queue.h"
 
index 02a49d9fa1ea8bf6f72bc4e6d3f123aa281d2894..f35178f5fcde2c52b06863341aaa6cb6a926d7cf 100644 (file)
@@ -22,6 +22,7 @@
 #include "qom/object_interfaces.h"
 #include "hw/core/cpu.h"
 #include "hw/virtio/virtio.h"
+#include "hw/virtio/vhost.h"
 #include "migration/qemu-file-types.h"
 #include "qemu/atomic.h"
 #include "hw/virtio/virtio-bus.h"
index 4219968fd8f37799fb26b1cbb9d82d623dfc35fb..77c6c55929ffe6d5dce1417b923b760195c51376 100644 (file)
@@ -22,7 +22,6 @@
 #include "standard-headers/linux/virtio_config.h"
 #include "standard-headers/linux/virtio_ring.h"
 #include "qom/object.h"
-#include "hw/virtio/vhost.h"
 
 /*
  * A guest should never accept this. It implies negotiation is broken
This page took 0.031978 seconds and 4 git commands to generate.