aboutsummaryrefslogtreecommitdiff
path: root/tests/qmp-test.c
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2018-03-08 06:48:59 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-13 17:36:05 +0100
commit31dd67f684c862303cf3bb18dba10567bc35e0ab (patch)
tree7a78faa0bd01c62ca9cee04c33d4b43ed92a1c1b /tests/qmp-test.c
parent1b6a034f293a8928b48765a496ce95bed0cdddc4 (diff)
downloadqemu-31dd67f684c862303cf3bb18dba10567bc35e0ab.zip
qemu-31dd67f684c862303cf3bb18dba10567bc35e0ab.tar.gz
qemu-31dd67f684c862303cf3bb18dba10567bc35e0ab.tar.bz2
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 'tests/qmp-test.c')
-rw-r--r--tests/qmp-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qmp-test.c b/tests/qmp-test.c
index ec8c7c7..7470c6b 100644
--- a/tests/qmp-test.c
+++ b/tests/qmp-test.c
@@ -208,6 +208,7 @@ static bool query_is_blacklisted(const char *cmd)
"query-sev-launch-measure",
/* Success depends on Host or Hypervisor SEV support */
"query-sev",
+ "query-sev-capabilities",
NULL
};
int i;