diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-05-22 12:05:32 -0700 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-05-28 18:54:18 +0200 |
| commit | 28a6a99834cd126f80f426ac3fe00625f165ebea (patch) | |
| tree | cf6d484e488c9018a8fca04ce1244ab95e795e69 /hw/i386/sgx.c | |
| parent | 30fbb258717d81c32f11a0e4b7218442a43c4856 (diff) | |
| download | focaccia-qemu-28a6a99834cd126f80f426ac3fe00625f165ebea.tar.gz focaccia-qemu-28a6a99834cd126f80f426ac3fe00625f165ebea.zip | |
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>
Diffstat (limited to 'hw/i386/sgx.c')
| -rw-r--r-- | hw/i386/sgx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/sgx.c b/hw/i386/sgx.c index c80203b438..e2801546ad 100644 --- a/hw/i386/sgx.c +++ b/hw/i386/sgx.c @@ -19,7 +19,7 @@ #include "monitor/hmp-target.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "qapi/qapi-commands-misc-target.h" +#include "qapi/qapi-commands-misc-i386.h" #include "system/address-spaces.h" #include "system/hw_accel.h" #include "system/reset.h" |