]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configs/targets: Restrict the legacy ldst_phys() API on x86 targets
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 3 Feb 2026 13:54:37 +0000 (14:54 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Feb 2026 19:51:52 +0000 (20:51 +0100)
The x86 targets don't use the legacy ldst_phys() API anymore.
Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to hide
the legacy API to the x86 binaries, avoiding further API uses
to creep in.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260204204103.46343-5-philmd@linaro.org>

configs/targets/i386-softmmu.mak
configs/targets/x86_64-softmmu.mak

index e9d89e8ab4130626e1cfa5a11b1d33c135cb4d2c..19ef4a6690d4d84546e64c17351c187cb19862b0 100644 (file)
@@ -3,3 +3,4 @@ TARGET_KVM_HAVE_GUEST_DEBUG=y
 TARGET_KVM_HAVE_RESET_PARKED_VCPU=y
 TARGET_XML_FILES= gdb-xml/i386-32bit.xml
 TARGET_LONG_BITS=32
+TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
index 5180560d4d617c770030e878e02aa82f3f907d2f..151862158c7299448656e24d339521f118d92f73 100644 (file)
@@ -4,3 +4,4 @@ TARGET_KVM_HAVE_GUEST_DEBUG=y
 TARGET_KVM_HAVE_RESET_PARKED_VCPU=y
 TARGET_XML_FILES= gdb-xml/i386-64bit.xml gdb-xml/i386-64bit-apx.xml
 TARGET_LONG_BITS=64
+TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y