Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp726607pxb; Tue, 2 Feb 2021 16:50:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1qno+OYd0rW3pQZZYqxAPublPbLjnJ1DE0Eyxyy4q78+fNAae0w4gVE0MKec3xMZzdlwh X-Received: by 2002:a17:906:7d09:: with SMTP id u9mr596007ejo.380.1612313451808; Tue, 02 Feb 2021 16:50:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313451; cv=none; d=google.com; s=arc-20160816; b=clwniPkzl8mKMWOsVV5yURu5NsU5MuARwpsR0r4DnhLKdLWCD2YZ3gM+7uxgT/Diz+ N+3NBX67q5TGUZ+XVQj4GVzojJd6M0lVmLM7QtbU5GWtm/mNFJcO5iWUCAcgJ4MPBPYq Yrvi3lt63ZsGrM+yTQLiGmSoVron9IV+pzqadIxONLPhETZKQaoYVGICME9Y+Q5Boj6+ VkSVa5sNB88nzL0SDm9bR3UDu82fgjZfQ6I6ht9OWOpgcuuC5xE/PWCXMgV0TErzJRgt 9n895pSgXiCw5Gt5ByreB0KLbqfL3B8WRzn1qZx4W9Pt2YEHxzn2NQ6ubaE9lGiVN+4t bOlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9yOT3vqLwyhWzNWrIxY24I2+Lq9ZbwhXTmms6bfuYBk=; b=h59LLc3oeQFSNg1EGjyrpg4rvgsNHggvIPeDNfM1KaD2qq2shbzjbqy3YgsJh5jHul OPWxa0+ms4HpALsHVFJ/1P70+oLeKIXr1IuMDi+bPI9hMWb6XkovtDfM5Fi6LAuvXV5o 9BFJ4+no/TfXF2viSxOvxEscAQ8Inw5gplPcL4JBmUVN0E548J69Jy0u6kWHlZEy643E 3EO7qe41qPnbIjsWQAsZwSbXC7jROP+kL5QRG/GyWpLs3uZCBv4knROTIw5ouBbaXR4X PLVyqLp+d5yGUyovDYc+GXJPfDWHmjjPiYK9S941FezmIY4cEFWm9OqhcV/Qs84X73Ow iAtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=e4Q9SAC9; 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 fi14si307008ejb.727.2021.02.02.16.50.27; Tue, 02 Feb 2021 16:50:51 -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=e4Q9SAC9; 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 S240219AbhBBUBQ (ORCPT + 99 others); Tue, 2 Feb 2021 15:01:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:38944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232858AbhBBNsm (ORCPT ); Tue, 2 Feb 2021 08:48:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 17EFC64F9D; Tue, 2 Feb 2021 13:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273330; bh=q8B5u5WTtJqSQ/d9Dmg9CZqvVrKo5KYLLi5W/3UP6rc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e4Q9SAC9Y/m+DVUWRGr5IO79DNrmj+3nGxnmrOw8PtVLa6Qrfgspz6zec40CKNeSP 4beF4PQWkXGvS1+KzlmD+UrZzRff/GaiiL4qRGIKfPgr06tsFKQPZNlsLb4woHBDdO 6dWPrUoAaG5QXyXMoH8kgS1K8QTb9AbG3DlT1ueI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Quentin Perret , Paolo Bonzini Subject: [PATCH 5.10 066/142] KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM Date: Tue, 2 Feb 2021 14:37:09 +0100 Message-Id: <20210202133000.449940320@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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