summaryrefslogtreecommitdiffstats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorBrijesh Singh2018-03-08 13:48:47 +0100
committerPaolo Bonzini2018-03-13 17:36:05 +0100
commit630363146765dd9379893d5b78ae9356ef6c766d (patch)
tree6108ce1977dd43749e0a3490cda4347c17f448d1 /hmp-commands-info.hx
parentcpu/i386: populate CPUID 0x8000_001F when SEV is active (diff)
downloadqemu-630363146765dd9379893d5b78ae9356ef6c766d.tar.gz
qemu-630363146765dd9379893d5b78ae9356ef6c766d.tar.xz
qemu-630363146765dd9379893d5b78ae9356ef6c766d.zip
sev/i386: hmp: add 'info sev' command
The command can be used to show the SEV information when memory encryption is enabled on AMD platform. Cc: Eric Blake <eblake@redhat.com> Cc: "Daniel P. Berrangé" <berrange@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Reviewed-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx16
1 files changed, 16 insertions, 0 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index ad590a4ffb..ddfcd5adcc 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -867,6 +867,22 @@ Display the amount of initially allocated and present hotpluggable (if
enabled) memory in bytes.
ETEXI
+#if defined(TARGET_I386)
+ {
+ .name = "sev",
+ .args_type = "",
+ .params = "",
+ .help = "show SEV information",
+ .cmd = hmp_info_sev,
+ },
+#endif
+
+STEXI
+@item info sev
+@findex info sev
+Show SEV information.
+ETEXI
+
STEXI
@end table
ETEXI