Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp539384imu; Mon, 26 Nov 2018 14:39:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/WWcWcArUbUEtrdj5mzaOWEirvkQe3O2zuHb/MATeTe7yBO1pA02ubWJkFlU472MMMO78KO X-Received: by 2002:a63:7556:: with SMTP id f22mr24803058pgn.231.1543271992374; Mon, 26 Nov 2018 14:39:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543271992; cv=none; d=google.com; s=arc-20160816; b=Ttt9ynbw0cZb06cGCRHunbil33823aT9zv1zfR6Jz2HPxW/Wuho4MYxRqmk1FGHFIB fdcNLd0KyNG1E7te44k/hW84Acpy+leYVyGhBfOVs8Qft4aWyrtXMtkk7xIHykjCeigX /eq/2Teid2pS/Br/9rm8xzg9zbVfZQq2bprq32BMy9vaO/jolPVxfE32UxUeZ4YyOl5R FP1dhHNWW2/CJwbxl7Sk7H9iyZ2Or7up5LoNBOP9t04a9B9Yg1THRhh6ttbxp7IvYSSn C8pJ5QvO/Pog6QlRUduJ9tYva03/BtRGEteqaEqW4Bx3td5phJt9wRZUCEcI7gIzScCD +PwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=ihR7io+e8Iz8+7hd5geWfSmbj+8hTSTxUWKmuTexxcI=; b=0bjaUB8dTrwVJfEYe/YAr1omuD0jbGIaEbhdNSfr8EaxNzkneF8vbU0TIJbOkhW6cF +Pthel9sTdTR8HrvygC+p/MStECymGX872QOUtjmu4Nsm4VhQ1DiYaXGWh0gwWXfqV4j djxp0KI3eNRtQJN1WJ2K5I093D+xU/+/OAk0SxQk94GrMsvgbSvP1rjYs2G4CANY9JwK FM+FUFPuhf+VbuHhAPzbXAsh3O3Dh2fsDvp5ppc7tuBMucc1dLsg7CYXxSeHumsNmdvv k2jnc/KHnfv6ABOEmozIdLtMB1hnx26UlyG/ntIAWeYA38R6bf5JUVipP7HBRFgNa8n3 U+Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="p/qL5f+G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r77-v6si1676399pfa.69.2018.11.26.14.39.37; Mon, 26 Nov 2018 14:39:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="p/qL5f+G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727596AbeK0JdK (ORCPT + 99 others); Tue, 27 Nov 2018 04:33:10 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:36579 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbeK0JdJ (ORCPT ); Tue, 27 Nov 2018 04:33:09 -0500 Received: by mail-pl1-f196.google.com with SMTP id g9so2094196plo.3 for ; Mon, 26 Nov 2018 14:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ihR7io+e8Iz8+7hd5geWfSmbj+8hTSTxUWKmuTexxcI=; b=p/qL5f+G9xYIij2oomEDfpNlM1/EqQH7/BvOMGAJSPbRV55KUg8yvs+7Dk6e2RVPm6 Voi7LtAPmB29u5XQPoYgO3/yLE3oqAxepggwIUER4Adf8BYIejVJb3XmCaqEiNYkY7gh U+udfPucK0IKNQ6drqZcj2AveRsCasiyECetLTonZsBASNAMsgYu1eCc37vLnXLQEDJ4 +x98CFsNUEYa2HJMZJ9lKwjqq55HMjCB6N23QdJr5g2QAoUJ555bqWMpOW29GhQdzGk9 z/e4ClutpzEpBhthSi+nipaQU0IDQ0phsYx1xWvRwOtvlCcqYStHIZiGj3TQih+v01iJ BxyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=ihR7io+e8Iz8+7hd5geWfSmbj+8hTSTxUWKmuTexxcI=; b=LkQvOPNazpNI/q2BaWdflWXM/AVri1PYSyUaxtruXUak8V9TWgjPp344u5mreZgW46 Leens2EiGpMrBYT+jOULLa0YsL1vdtnwT03FMhy6bwrQNT0cKWEZiIDcB7pcJvl28yvN hDST/cf6TCa25muO4ziEezF3AsqR8fnBIYp4rsrseDwmEaeIQ1c0v/FcAT8OWXYwp1xw 0ooXcbf+LLGrfpv4ZRwYNk118R60avuIJwU4pV0003aq0R9MoSJwz3OogNFkLNpL6Uf0 TICacwM4W8cUkc1xQJN5zfNgotdgjdKELJIu/cVUo4FESqLAu6bzBmGrv3CUt3MSa+GD pjFw== X-Gm-Message-State: AA+aEWbLyxfFWi0j7YIR84pFADtuD96G0AnJ7vMSpDYsUyi1fHSY43wk M1Ol3HSu1jMoYOUGwQ0aKIT37Q== X-Received: by 2002:a17:902:468:: with SMTP id 95mr22494048ple.3.1543271850500; Mon, 26 Nov 2018 14:37:30 -0800 (PST) Received: from js-desktop.svl.corp.google.com ([2620:15c:2cd:2:5c1d:6557:d90c:ea99]) by smtp.gmail.com with ESMTPSA id n68sm2577987pfb.62.2018.11.26.14.37.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 14:37:29 -0800 (PST) Subject: Re: [PATCH 1/3] kvm: make KVM_CAP_ENABLE_CAP_VM architecture agnostic To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Xiao Guangrong References: <1543251253-24762-1-git-send-email-pbonzini@redhat.com> <1543251253-24762-2-git-send-email-pbonzini@redhat.com> From: Junaid Shahid Organization: Google Message-ID: Date: Mon, 26 Nov 2018 14:37:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1543251253-24762-2-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/26/2018 08:54 AM, Paolo Bonzini wrote: > > diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt > index cd209f7730af..1071c10cf1c7 100644 > --- a/Documentation/virtual/kvm/api.txt > +++ b/Documentation/virtual/kvm/api.txt > @@ -1129,10 +1129,15 @@ documentation when it pops into existence). > > 4.37 KVM_ENABLE_CAP > > -Capability: KVM_CAP_ENABLE_CAP, KVM_CAP_ENABLE_CAP_VM > -Architectures: x86 (only KVM_CAP_ENABLE_CAP_VM), > - mips (only KVM_CAP_ENABLE_CAP), ppc, s390 > -Type: vcpu ioctl, vm ioctl (with KVM_CAP_ENABLE_CAP_VM) > +Capability: KVM_CAP_ENABLE_CAP > +Architectures: mips, ppc, s390 > +Type: vcpu ioctl > +Parameters: struct kvm_enable_cap (in) > +Returns: 0 on success; -1 on error > + > +Capability: KVM_CAP_ENABLE_CAP_VM > +Architectures: all > +Type: vcpu ioctl I suppose that this should be "vm ioctl". > Parameters: struct kvm_enable_cap (in) > Returns: 0 on success; -1 on error ... Reviewed-by: Junaid Shahid