Message ID | 20200220104020.5343-37-borntraeger@de.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: s390: Add support for protected VMs | expand |
On 20.02.20 11:40, Christian Borntraeger wrote: > We also need to rstify the new ioctls that we added in parallel to the > rstification of the kvm docs. > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> > --- > Documentation/virt/kvm/api.rst | 33 ++++++++++++++++++--------------- > 1 file changed, 18 insertions(+), 15 deletions(-) > > diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst > index 58be7aba0db2..faca9977cbe7 100644 > --- a/Documentation/virt/kvm/api.rst > +++ b/Documentation/virt/kvm/api.rst > @@ -4613,35 +4613,38 @@ unpins the VPA pages and releases all the device pages that are used to > track the secure pages by hypervisor. > > 4.122 KVM_S390_NORMAL_RESET > +--------------------------- > > -Capability: KVM_CAP_S390_VCPU_RESETS > -Architectures: s390 > -Type: vcpu ioctl > -Parameters: none > -Returns: 0 > +:Capability: KVM_CAP_S390_VCPU_RESETS > +:Architectures: s390 > +:Type: vcpu ioctl > +:Parameters: none > +:Returns: 0 > > This ioctl resets VCPU registers and control structures according to > the cpu reset definition in the POP (Principles Of Operation). > > 4.123 KVM_S390_INITIAL_RESET > +---------------------------- > > -Capability: none > -Architectures: s390 > -Type: vcpu ioctl > -Parameters: none > -Returns: 0 > +:Capability: none > +:Architectures: s390 > +:Type: vcpu ioctl > +:Parameters: none > +:Returns: 0 > > This ioctl resets VCPU registers and control structures according to > the initial cpu reset definition in the POP. However, the cpu is not > put into ESA mode. This reset is a superset of the normal reset. > > 4.124 KVM_S390_CLEAR_RESET > +-------------------------- > > -Capability: KVM_CAP_S390_VCPU_RESETS > -Architectures: s390 > -Type: vcpu ioctl > -Parameters: none > -Returns: 0 > +:Capability: KVM_CAP_S390_VCPU_RESETS > +:Architectures: s390 > +:Type: vcpu ioctl > +:Parameters: none > +:Returns: 0 > > This ioctl resets VCPU registers and control structures according to > the clear cpu reset definition in the POP. However, the cpu is not put > Reviewed-by: David Hildenbrand <david@redhat.com>
On Thu, 20 Feb 2020 05:40:19 -0500 Christian Borntraeger <borntraeger@de.ibm.com> wrote: > We also need to rstify the new ioctls that we added in parallel to the > rstification of the kvm docs. This looks like it could be merged independently of the protected virt patches? > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> > --- > Documentation/virt/kvm/api.rst | 33 ++++++++++++++++++--------------- > 1 file changed, 18 insertions(+), 15 deletions(-) Reviewed-by: Cornelia Huck <cohuck@redhat.com>
On 21.02.20 11:51, Cornelia Huck wrote: > On Thu, 20 Feb 2020 05:40:19 -0500 > Christian Borntraeger <borntraeger@de.ibm.com> wrote: > >> We also need to rstify the new ioctls that we added in parallel to the >> rstification of the kvm docs. > > This looks like it could be merged independently of the protected virt > patches? > Yes, but I did that while doing the other patch. Will go via kvm/master. >> >> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> >> --- >> Documentation/virt/kvm/api.rst | 33 ++++++++++++++++++--------------- >> 1 file changed, 18 insertions(+), 15 deletions(-) > > Reviewed-by: Cornelia Huck <cohuck@redhat.com> >
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index 58be7aba0db2..faca9977cbe7 100644 --- a/Documentation/virt/kvm/api.rst +++ b/Documentation/virt/kvm/api.rst @@ -4613,35 +4613,38 @@ unpins the VPA pages and releases all the device pages that are used to track the secure pages by hypervisor. 4.122 KVM_S390_NORMAL_RESET +--------------------------- -Capability: KVM_CAP_S390_VCPU_RESETS -Architectures: s390 -Type: vcpu ioctl -Parameters: none -Returns: 0 +:Capability: KVM_CAP_S390_VCPU_RESETS +:Architectures: s390 +:Type: vcpu ioctl +:Parameters: none +:Returns: 0 This ioctl resets VCPU registers and control structures according to the cpu reset definition in the POP (Principles Of Operation). 4.123 KVM_S390_INITIAL_RESET +---------------------------- -Capability: none -Architectures: s390 -Type: vcpu ioctl -Parameters: none -Returns: 0 +:Capability: none +:Architectures: s390 +:Type: vcpu ioctl +:Parameters: none +:Returns: 0 This ioctl resets VCPU registers and control structures according to the initial cpu reset definition in the POP. However, the cpu is not put into ESA mode. This reset is a superset of the normal reset. 4.124 KVM_S390_CLEAR_RESET +-------------------------- -Capability: KVM_CAP_S390_VCPU_RESETS -Architectures: s390 -Type: vcpu ioctl -Parameters: none -Returns: 0 +:Capability: KVM_CAP_S390_VCPU_RESETS +:Architectures: s390 +:Type: vcpu ioctl +:Parameters: none +:Returns: 0 This ioctl resets VCPU registers and control structures according to the clear cpu reset definition in the POP. However, the cpu is not put
We also need to rstify the new ioctls that we added in parallel to the rstification of the kvm docs. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> --- Documentation/virt/kvm/api.rst | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)