summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2026-03-25 15:47:02 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2026-04-24 21:27:21 +0200
commit50362dd65a033eb88bdb7f15a5d188a0f4c756cc (patch)
tree3a15dc3bcf563218e758898ba4daf839ed261463 /backends
parentda36151de17e25cd68192bd00ae10de03bf48437 (diff)
downloadqemu-50362dd65a033eb88bdb7f15a5d188a0f4c756cc.tar.gz
qemu-50362dd65a033eb88bdb7f15a5d188a0f4c756cc.zip
qom: Declare compat properties API in 'qom/compat-properties.h'
While most of QEMU files use the QOM concept, few of them use the compatibility properties API (mostly use in system emulation). Move its prototype to a new "qom/compat-properties.h" header, keeping "qom/object.h" for generic QOM. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Message-Id: <20260325151728.45378-5-philmd@linaro.org>
Diffstat (limited to 'backends')
-rw-r--r--backends/hostmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/hostmem.c b/backends/hostmem.c
index 15d4365b69..cd2085fb3c 100644
--- a/backends/hostmem.c
+++ b/backends/hostmem.c
@@ -18,6 +18,7 @@
#include "qapi/qapi-builtin-visit.h"
#include "qapi/visitor.h"
#include "qemu/config-file.h"
+#include "qom/compat-properties.h"
#include "qom/object_interfaces.h"
#include "qemu/mmap-alloc.h"
#include "qemu/madvise.h"