]> git.baikalelectronics.ru Git - kernel.git/commit
doc: kvm: Fix return description of KVM_SET_MSRS
authorXiaoyao Li <xiaoyao.li@intel.com>
Thu, 5 Sep 2019 00:57:37 +0000 (08:57 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Sep 2019 17:13:53 +0000 (19:13 +0200)
commite33e9e167d44a3cf3b3ee65e3d2e6157ed463ba8
treeb464831b76d274dfa7e87260082f5716c95f6da4
parentde3d6f2c567e655885a86b3af4b01bdf8994a2d2
doc: kvm: Fix return description of KVM_SET_MSRS

Userspace can use ioctl KVM_SET_MSRS to update a set of MSRs of guest.
This ioctl set specified MSRs one by one. If it fails to set an MSR,
e.g., due to setting reserved bits, the MSR is not supported/emulated by
KVM, etc..., it stops processing the MSR list and returns the number of
MSRs have been set successfully.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.txt