|
From: | Brijesh Singh |
Subject: | Re: [Qemu-devel] [PATCH v7 26/26] qmp: add query-sev-launch-measure command |
Date: | Wed, 7 Feb 2018 12:12:25 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
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" } } +#
[Prev in Thread] | Current Thread | [Next in Thread] |