diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2018-03-08 06:48:59 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-13 17:36:05 +0100 |
commit | 31dd67f684c862303cf3bb18dba10567bc35e0ab (patch) | |
tree | 7a78faa0bd01c62ca9cee04c33d4b43ed92a1c1b /target/i386/monitor.c | |
parent | 1b6a034f293a8928b48765a496ce95bed0cdddc4 (diff) |
sev/i386: qmp: add query-sev-capabilities command
The command can be used by libvirt to query the SEV capabilities.
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/monitor.c')
-rw-r--r-- | target/i386/monitor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/i386/monitor.c b/target/i386/monitor.c index f8a0e4b268..8a786fb79a 100644 --- a/target/i386/monitor.c +++ b/target/i386/monitor.c @@ -714,3 +714,9 @@ SevLaunchMeasureInfo *qmp_query_sev_launch_measure(Error **errp) return info; } + +SevCapability *qmp_query_sev_capabilities(Error **errp) +{ + error_setg(errp, "SEV feature is not available"); + return NULL; +} |