On 02/07/2018 10:29 AM, Eric Blake wrote:
...
+#
+# Since: 2.12
+#
+# Notes: If measurement is not available then a null measurement is
returned.
Null measurement, as in empty string? Would it be better to have
query-sev-launch-measure return an error instead of an
SevLaunchMeasureInfo with a null measurement in that case?
Yes, an empty string when measurement is not available. I can certainly
change it to return an error when measurement is not available.
+##
+{ 'struct': 'SevLaunchMeasureInfo', 'data': {'data': 'str'} }
+
+##
+# @query-sev-launch-measure:
+#
+# Query the SEV guest launch information.
+#
+# Returns: The @SevLaunchMeasureInfo for the guest
+#
+# Since: 2.12
+#
+# Example:
+#
+# -> { "execute": "query-sev-launch-measure" }
+# <- { "return": { "data": "4l8LXeNlSPUDlXPJG5966/8%YZ" } }
+#