[PATCH v4 0/2] let archs decide for vcpu ids

Greg Kurz
2016-04-21T14:14:54Z

This series mostly addresses Radim's comments on my previous patch
"KVM: remove buggy vcpu id check on vcpu creation":
- prepended a patch to fix kvm_get_vcpu_by_id()
- updated the KVM API documentation

---

Greg Kurz (2):
KVM: remove NULL return path for vcpu ids >= KVM_MAX_VCPUS
KVM: move vcpu id checking to archs

Documentation/virtual/kvm/api.txt | 7 +++----
arch/mips/kvm/mips.c | 7 ++++++-
arch/x86/kvm/x86.c | 3 +++
include/linux/kvm_host.h | 7 ++++---
virt/kvm/kvm_main.c | 3 ---
5 files changed, 16 insertions(+), 11 deletions(-)