]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: make SGX commands unconditionally available
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 May 2025 19:05:32 +0000 (12:05 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 28 May 2025 16:54:18 +0000 (18:54 +0200)
commit28a6a99834cd126f80f426ac3fe00625f165ebea
treecf6d484e488c9018a8fca04ce1244ab95e795e69
parent30fbb258717d81c32f11a0e4b7218442a43c4856
qapi: make SGX commands unconditionally available

This removes the TARGET_I386 condition from the SGX confidential
virtualization commands, moving them to the recently introduced
misc-i386.json QAPI file, given they are inherantly i386 specific
commands.

Observe a pre-existing bug that the "SGXEPCSection" struct lacked
a TARGET_I386 condition, despite its only usage being behind a
TARGET_I386 condition.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250522190542.588267-6-pierrick.bouvier@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/i386/sgx-stub.c
hw/i386/sgx.c
qapi/misc-i386.json
qapi/misc-target.json
stubs/meson.build
stubs/monitor-i386-sgx.c [new file with mode: 0644]