From: Claudio Imbrenda <imbrenda@linux.ibm.com>
To: Janosch Frank <frankja@linux.ibm.com>
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org,
borntraeger@linux.ibm.com
Subject: Re: [PATCH v6 11/11] Documentation/virt/kvm/api.rst: Explain rc/rrc delivery
Date: Tue, 17 May 2022 18:47:25 +0200 [thread overview]
Message-ID: <20220517184725.7e1409ac@p-imbrenda> (raw)
In-Reply-To: <20220517163629.3443-12-frankja@linux.ibm.com>
On Tue, 17 May 2022 16:36:29 +0000
Janosch Frank <frankja@linux.ibm.com> wrote:
> Let's explain in which situations the rc/rrc will set in struct
> kvm_pv_cmd so it's clear that the struct members should be set to
> 0. rc/rrc are independent of the IOCTL return code.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> ---
> Documentation/virt/kvm/api.rst | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 06d1b717b032..7b0993e4106f 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -5067,6 +5067,14 @@ into ESA mode. This reset is a superset of the initial reset.
> __u32 reserved[3];
> };
>
> +**Ultravisor return codes**
> +The Ultravisor return (reason) codes are provided by the kernel if a
> +Ultravisor call has been executed to achieve the results expected by
> +the command. Therefore they are independent of the IOCTL return
> +code. If KVM changes `rc`, its value will always be greater than 0
> +hence setting it to 0 before issuing a PV command is advised to be
> +able to detect a change of `rc`.
> +
> **cmd values:**
>
> KVM_PV_ENABLE
next prev parent reply other threads:[~2022-05-17 16:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 16:36 [PATCH v6 00/11] kvm: s390: Add PV dump support Janosch Frank
2022-05-17 16:36 ` [PATCH v6 01/11] s390x: Add SE hdr query information Janosch Frank
2022-05-17 16:36 ` [PATCH v6 02/11] s390: uv: Add dump fields to query Janosch Frank
2022-05-17 16:36 ` [PATCH v6 03/11] KVM: s390: pv: Add query interface Janosch Frank
2022-05-17 16:36 ` [PATCH v6 04/11] KVM: s390: pv: Add dump support definitions Janosch Frank
2022-05-17 16:36 ` [PATCH v6 05/11] KVM: s390: pv: Add query dump information Janosch Frank
2022-05-17 16:36 ` [PATCH v6 06/11] kvm: s390: Add configuration dump functionality Janosch Frank
2022-05-17 16:54 ` Claudio Imbrenda
2022-05-17 16:36 ` [PATCH v6 07/11] kvm: s390: Add CPU " Janosch Frank
2022-05-17 16:48 ` Claudio Imbrenda
2022-05-17 16:36 ` [PATCH v6 08/11] kvm: s390: Add KVM_CAP_S390_PROTECTED_DUMP Janosch Frank
2022-05-17 16:48 ` Claudio Imbrenda
2022-05-17 16:36 ` [PATCH v6 09/11] Documentation: virt: Protected virtual machine dumps Janosch Frank
2022-05-17 16:36 ` [PATCH v6 10/11] Documentation/virt/kvm/api.rst: Add protvirt dump/info api descriptions Janosch Frank
2022-05-17 16:47 ` Claudio Imbrenda
2022-05-17 16:36 ` [PATCH v6 11/11] Documentation/virt/kvm/api.rst: Explain rc/rrc delivery Janosch Frank
2022-05-17 16:47 ` Claudio Imbrenda [this message]
2022-05-30 13:10 ` [PATCH v6 00/11] kvm: s390: Add PV dump support Christian Borntraeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220517184725.7e1409ac@p-imbrenda \
--to=imbrenda@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=frankja@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox