Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbcDUOPT (ORCPT ); Thu, 21 Apr 2016 10:15:19 -0400 Received: from e06smtp08.uk.ibm.com ([195.75.94.104]:55641 "EHLO e06smtp08.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751806AbcDUOPS (ORCPT ); Thu, 21 Apr 2016 10:15:18 -0400 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: gkurz@linux.vnet.ibm.com X-IBM-RcptTo: kvm@vger.kernel.org;linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] let archs decide for vcpu ids From: Greg Kurz To: Paolo Bonzini , james.hogan@imgtec.com, mingo@redhat.com Cc: linux-mips@linux-mips.org, kvm@vger.kernel.org, rkrcmar@redhat.com, linux-kernel@vger.kernel.org, David Hildenbrand , qemu-ppc@nongnu.org, Cornelia Huck , Paul Mackerras , David Gibson Date: Thu, 21 Apr 2016 16:14:54 +0200 Message-ID: <146124809455.32509.15232948272580716135.stgit@bahia.huguette.org> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16042114-0033-0000-0000-000012611B19 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 636 Lines: 21 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(-) -- Greg