Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp74314pxb; Tue, 2 Feb 2021 23:22:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwV3t0ZzbIZab01lX7F0NLE7IRVI3FMzsnWnA95DVbIktUfk5Yv0n9tVGD8joHikHZyEVxj X-Received: by 2002:a17:906:854d:: with SMTP id h13mr580436ejy.124.1612336952777; Tue, 02 Feb 2021 23:22:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612336952; cv=none; d=google.com; s=arc-20160816; b=GklpHqCU46P54XDe0XfPs6Jz2a+8L11pS6fl51jyGuTnY7/IX9zYzRuPF3y5AMVj5I 2cI1wI5ytubSjWUcOOR8tZPjbua4N2y1ULVtXz/wFSusny80LE0qH9Tyq1H0uI7rK1N6 qZsCBAdOY4DIGZ/D0un3TFEAOiP9/KHhm+FmPl7Lfa+hLUF17TXztuf9tnsRz3cEAnGx bvdJf/ZF3+WVH59QvxDBkB8+5GAq7U5HpqToC++oaWX4bgGJEKR4NRevfRWeXRRdLwo8 A2UDbWkxvpuBTGH7/TrH1x3MgvnJu/up+Ng27fI3PI5zIOCP2cZmQDh5cvOVlew1YcdB PrpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mFeyjwOleqyaye1CUaE08yIEqavlowH0fbBmPZI7rzs=; b=vcKntdvCBa+be5TnfvCddTvuY1/R1gertwACEtVKs0flnJZERxXiC/SHPN/8J5zXMo CTGUM5Pv/3W4GKWmSe/gzrM0vdXNZynFj/SvP+dwxVA+mYG0JmOecFZvwFS0hDgSIC+p O+rmLPFJ+PUobx5iJCbBX88Hu8/5qu+BaWQUQcyfLlSwzYutm9TMQ8jOUNuaw+89tCBO vdbJs60q0zF7gOkpzxTrnfqwYdgHjDqREniPS+lLabfD9LpdxYSKPzLrUKeL0xN1NDrS 3R96qowMH0jNc2DXK+54/bn29Y5Fw6Xu7UksGId88wOpIMJEEx2/iu9iAS3/j6nvhvxB 8LAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ijUJ/rAW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si456253ejv.427.2021.02.02.23.22.07; Tue, 02 Feb 2021 23:22:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ijUJ/rAW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231845AbhBCHVj (ORCPT + 99 others); Wed, 3 Feb 2021 02:21:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:36000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbhBCHVi (ORCPT ); Wed, 3 Feb 2021 02:21:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5340364F61; Wed, 3 Feb 2021 07:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612336858; bh=TpgXwgnQr+jX+xbM5MDKMswVgu0xwvcRdjla+jPf3N0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ijUJ/rAWbhlk+n8TQoUnPF1kznhHe2vwchiCjXGo/ROV2o87f5ZOb+jDGfyn+XzmB 1zwl5GI2yz5X7ux1q20U0T2tRMwdT8XAQWwzZU0TR6/0/dnBAEyn+KIF48srnOuHFq pOYQzCVoNou+Ucu5cdtzKV+Y9j12XOO4QegD5hHg= Date: Wed, 3 Feb 2021 08:20:54 +0100 From: Greg Kroah-Hartman To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Quentin Perret , Paolo Bonzini Subject: Re: [PATCH 5.10 066/142] KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM Message-ID: References: <20210202132957.692094111@linuxfoundation.org> <20210202133000.449940320@linuxfoundation.org> <20210203010506.GU4035784@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203010506.GU4035784@sasha-vm> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 02, 2021 at 08:05:06PM -0500, Sasha Levin wrote: > On Tue, Feb 02, 2021 at 02:37:09PM +0100, Greg Kroah-Hartman wrote: > > From: Quentin Perret > > > > commit a10f373ad3c760dd40b41e2f69a800ee7b8da15e upstream. > > > > The documentation classifies KVM_ENABLE_CAP with KVM_CAP_ENABLE_CAP_VM > > as a vcpu ioctl, which is incorrect. Fix it by specifying it as a VM > > ioctl. > > > > Fixes: e5d83c74a580 ("kvm: make KVM_CAP_ENABLE_CAP_VM architecture agnostic") > > Signed-off-by: Quentin Perret > > Message-Id: <20210108165349.747359-1-qperret@google.com> > > Signed-off-by: Paolo Bonzini > > Signed-off-by: Greg Kroah-Hartman > > > > --- > > Documentation/virt/kvm/api.rst | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- a/Documentation/virt/kvm/api.rst > > +++ b/Documentation/virt/kvm/api.rst > > @@ -1319,7 +1319,7 @@ documentation when it pops into existenc > > > > :Capability: KVM_CAP_ENABLE_CAP_VM > > :Architectures: all > > -:Type: vcpu ioctl > > +:Type: vm ioctl > > :Parameters: struct kvm_enable_cap (in) > > :Returns: 0 on success; -1 on error > > Um, how did this patch made it in? It came from my scripts, keeping documentation correct seems to be something it wanted to do :) thanks, greg k-h