From 31dd67f684c862303cf3bb18dba10567bc35e0ab Mon Sep 17 00:00:00 2001 From: Brijesh Singh Date: Thu, 8 Mar 2018 06:48:59 -0600 Subject: sev/i386: qmp: add query-sev-capabilities command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command can be used by libvirt to query the SEV capabilities. Cc: "Daniel P. Berrangé" Cc: "Dr. David Alan Gilbert" Cc: Markus Armbruster Signed-off-by: Brijesh Singh Signed-off-by: Paolo Bonzini --- target/i386/monitor.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/i386/monitor.c') 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; +} -- cgit v1.2.3