Hi Eric,
On 2026/1/16 02:30, Eric Auger wrote:
Hi Tao,
On 12/24/25 4:46 AM, Tao Tang wrote:
Introduce qos-smmuv3, a reusable library for SMMUv3-related qtest
operations. This module encapsulates common tasks like:
------------------------------<snip>------------------------------
------------------------------<snip>------------------------------
+
+#include "qemu/osdep.h"
+#include "hw/arm/smmuv3-common.h"
In file included from ../tests/qtest/libqos/qos-smmuv3.c:16:
/home/augere/UPSTREAM/qemu/include/hw/arm/smmuv3-common.h:14:10: fatal
error: hw/registerfields.h: No such file or directory
14 | #include "hw/registerfields.h"
| ^~~~~~~~~~~~~~~~~~~~~
This needs a rebase after the move to header files I am afraid
Thanks for the hint. I'll rebase it in V9.
------------------------------<snip>------------------------------
------------------------------<snip>------------------------------
+
+#ifndef QTEST_LIBQOS_SMMUV3_H
+#define QTEST_LIBQOS_SMMUV3_H
+
+#include "hw/misc/iommu-testdev.h"
+
+/*
+ * SMMU MMIO register base. We hardcode this as base_memmap is 'static const'
+ * in hw/arm/virt.c and not directly accessible here.
this is not true anymore with -device arm-smmuv3. So you can explicitly
state that will only work with machine wide vsmmu
OK. I'll explicitly state it here and other related places.
Best regards,
Tao