summary refs log tree commit diff stats
path: root/hw/vfio/container.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-30 09:08:54 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 05:03:56 +0200
commit4db362f68c7cd28a6b1aa2f9ada68aa3556f9613 (patch)
tree2569911d2674ac58a36500c75d1069b567a46e65 /hw/vfio/container.c
parentaa60bdb700f4afa8577a495c734870516910864f (diff)
downloadfocaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.tar.gz
focaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.zip
system/physmem: Extract API out of 'system/ram_addr.h' header
Very few files use the Physical Memory API. Declare its
methods in their own header: "system/physmem.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20251001175448.18933-19-philmd@linaro.org>
Diffstat (limited to 'hw/vfio/container.c')
-rw-r--r--hw/vfio/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/container.c b/hw/vfio/container.c
index 3fb19a1c8a..9ddec300e3 100644
--- a/hw/vfio/container.c
+++ b/hw/vfio/container.c
@@ -20,6 +20,7 @@
 #include "qemu/error-report.h"
 #include "hw/vfio/vfio-container.h"
 #include "hw/vfio/vfio-device.h" /* vfio_device_reset_handler */
+#include "system/physmem.h"
 #include "system/reset.h"
 #include "vfio-helpers.h"