mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 05:43:53 -06:00

This removes the TARGET_I386 condition from the SEV confidential virtualization commands, moving them to the recently introduced misc-i386.json QAPI file, given they are inherantly i386 specific commands. 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-4-pierrick.bouvier@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com>
36 lines
986 B
C
36 lines
986 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "qapi/qapi-commands-misc-i386.h"
|
|
|
|
SevInfo *qmp_query_sev(Error **errp)
|
|
{
|
|
error_setg(errp, "SEV is not available in this QEMU");
|
|
return NULL;
|
|
}
|
|
|
|
SevLaunchMeasureInfo *qmp_query_sev_launch_measure(Error **errp)
|
|
{
|
|
error_setg(errp, "SEV is not available in this QEMU");
|
|
return NULL;
|
|
}
|
|
|
|
SevCapability *qmp_query_sev_capabilities(Error **errp)
|
|
{
|
|
error_setg(errp, "SEV is not available in this QEMU");
|
|
return NULL;
|
|
}
|
|
|
|
void qmp_sev_inject_launch_secret(const char *packet_header, const char *secret,
|
|
bool has_gpa, uint64_t gpa, Error **errp)
|
|
{
|
|
error_setg(errp, "SEV is not available in this QEMU");
|
|
}
|
|
|
|
SevAttestationReport *qmp_query_sev_attestation_report(const char *mnonce,
|
|
Error **errp)
|
|
{
|
|
error_setg(errp, "SEV is not available in this QEMU");
|
|
return NULL;
|
|
}
|