[PATCH v3] doc: kvm: Fix return description of KVM_SET_MSRS

2019-09-04 Thread Xiaoyao Li
been set successfully. Signed-off-by: Xiaoyao Li --- v3: refine the description based on Sean's comment. v2: elaborate the changelog and description of ioctl KVM_SET_MSRS based on Sean's comments. --- Documentation/virt/kvm/api.txt | 7 ++- 1 file changed, 6 insertions(+),

Re: [PATCH v2] doc: kvm: Fix return description of KVM_SET_MSRS

2019-09-04 Thread Xiaoyao Li
On 9/5/2019 1:41 AM, Sean Christopherson wrote: On Wed, Sep 04, 2019 at 02:01:18PM +0800, Xiaoyao Li wrote: Userspace can use ioctl KVM_SET_MSRS to update a set of MSRs of guest. This ioctl sets specified MSRs one by one. Once it fails to set an MSR due to setting reserved bits, the MSR is not

[PATCH v2] doc: kvm: Fix return description of KVM_SET_MSRS

2019-09-03 Thread Xiaoyao Li
of MSRs have been set successfully. Signed-off-by: Xiaoyao Li --- v2: elaborate the changelog and description of ioctl KVM_SET_MSRS based on Sean's comments. --- Documentation/virt/kvm/api.txt | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/vir

Re: [PATCH] doc: kvm: fix return description of KVM_SET_MSRS

2019-09-03 Thread Xiaoyao Li
On 9/4/2019 12:33 AM, Sean Christopherson wrote: On Mon, Sep 02, 2019 at 06:12:14PM +0800, Xiaoyao Li wrote: It may seem silly, but a proper changelog would be helpful even here, e.g. to explain how and when a positive return value can diverge from the number of MSRs specific in struct kvm_msrs

[PATCH] doc: kvm: fix return description of KVM_SET_MSRS

2019-09-02 Thread Xiaoyao Li
Signed-off-by: Xiaoyao Li --- Documentation/virt/kvm/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/api.txt b/Documentation/virt/kvm/api.txt index 2d067767b617..a2efc19e0f4e 100644 --- a/Documentation/virt/kvm/api.txt +++ b/Documentation/virt