[PATCH] qapi: Fix version of cpu0-id field

Dov Murik posted 1 patch 2 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220420190129.3532623-1-dovmurik@linux.ibm.com
Maintainers: Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
qapi/misc-target.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] qapi: Fix version of cpu0-id field
Posted by Dov Murik 2 years ago
Commit 811b4ec7f8eb ("qapi, target/i386/sev: Add cpu0-id to
query-sev-capabilities") wrongly stated that the new field is available
since version 7.0.

Fix the QAPI documentation to state that the cpu0-id field is included
since 7.1.

Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
---
 qapi/misc-target.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qapi/misc-target.json b/qapi/misc-target.json
index bc9355b595..ed4a468aab 100644
--- a/qapi/misc-target.json
+++ b/qapi/misc-target.json
@@ -144,7 +144,7 @@
 #
 # @cert-chain:  PDH certificate chain (base64 encoded)
 #
-# @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.0)
+# @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.1)
 #
 # @cbitpos: C-bit location in page table entry
 #
-- 
2.25.1
Re: [PATCH] qapi: Fix version of cpu0-id field
Posted by Markus Armbruster 2 years ago
Dov Murik <dovmurik@linux.ibm.com> writes:

> Commit 811b4ec7f8eb ("qapi, target/i386/sev: Add cpu0-id to
> query-sev-capabilities") wrongly stated that the new field is available
> since version 7.0.
>
> Fix the QAPI documentation to state that the cpu0-id field is included
> since 7.1.
>
> Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
> ---
>  qapi/misc-target.json | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qapi/misc-target.json b/qapi/misc-target.json
> index bc9355b595..ed4a468aab 100644
> --- a/qapi/misc-target.json
> +++ b/qapi/misc-target.json
> @@ -144,7 +144,7 @@
>  #
>  # @cert-chain:  PDH certificate chain (base64 encoded)
>  #
> -# @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.0)
> +# @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.1)
>  #
>  # @cbitpos: C-bit location in page table entry
>  #

Reviewed-by: Markus Armbruster <armbru@redhat.com>

Queued, thanks!