Message ID | 1550519559-15915-26-git-send-email-Dave.Martin@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E48E01390 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Feb 2019 19:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2BA32AD9A for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Feb 2019 19:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6BE02ADB9; Mon, 18 Feb 2019 19:59:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E14A2AD9A for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Feb 2019 19:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SU7Eu3UtGEDE0KjK4fO44peJhCE/KneU9CSqLgpzI2U=; b=bwN+o1YUiAXfqJ W/GMfK9Jg9yTY1pQ5Wun8OxPquBnPZhUBaecujDJgoW8Hq9mage2Lbb+4nKLoKCxj6g66Hc5zbro1 BOQWZNlxCsMY7LLTLptXgQxlaUjjErCWUnwkCDJE3h8XiiPqlaWjwsNvNBza/0ahFPNqaNBYvAGuH 62SpnV7Xs8beR6t3PNHear0io1Vuzd3HvcV5LPMx1iTNIa1ZE+/0PZYkYSDN1N2/MrrmaEATzrJKa 8OAlpj4tP7hkNv4f3mUAqtueYG0dDTmLl7gNHUgJYqolcj1m5m1Se70KYZxkRRZaGc0VWZi6fqitc RcPaDaRxfASYhRP4URVA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvp4I-00031B-EO; Mon, 18 Feb 2019 19:59:10 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvozw-00058v-Tj for linux-arm-kernel@bombadil.infradead.org; Mon, 18 Feb 2019 19:54:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KFFoOvaOUxJZl3H9ierQC8chvOqGIJ7zyZb7SBpEGpw=; b=STTZGOHo2jbAtMAZax8P9526Kk qQ+HtT2TIDoGnQkwptR7V/O5hVkGyACgvdN8DndDASdBTDQiLgyrvntQ4Z0AyL6/Tsg4bqkNOHoUe /gZgO3esj4ffDq+952CGZjD3bd2RXx4OCROyb/Zz4A/jEja0+k3jBJBtM0oFACGfOkYM5embyhw9q iBcm4u9YBHjukz5CMnCUAYaNWdiMNEu167Hx+ZlY/P0Q+6N+CLs9I2WpjTFiRbZonVfEIkbwcxg5t No7ePLv+JHhhuAiE1FsMHnDO2rpn3d7Fx+tI2CpBshzVdam1tXpef5m3n8Owqugw8D5YzU7evrSaq sJp9hPZQ==; Received: from foss.arm.com ([217.140.101.70]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvozs-0005mk-PQ for linux-arm-kernel@lists.infradead.org; Mon, 18 Feb 2019 19:54:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B1AB115AB; Mon, 18 Feb 2019 11:54:23 -0800 (PST) Received: from e103592.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 94ED83FBA7; Mon, 18 Feb 2019 11:54:21 -0800 (PST) From: Dave Martin <Dave.Martin@arm.com> To: kvmarm@lists.cs.columbia.edu Subject: [PATCH v5 25/26] KVM: Document errors for KVM_GET_ONE_REG and KVM_SET_ONE_REG Date: Mon, 18 Feb 2019 19:52:38 +0000 Message-Id: <1550519559-15915-26-git-send-email-Dave.Martin@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1550519559-15915-1-git-send-email-Dave.Martin@arm.com> References: <1550519559-15915-1-git-send-email-Dave.Martin@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190218_195437_821776_CC16B4BF X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Okamoto Takayuki <tokamoto@jp.fujitsu.com>, Christoffer Dall <cdall@kernel.org>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Marc Zyngier <marc.zyngier@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Zhang Lei <zhang.lei@jp.fujitsu.com>, Julien Grall <julien.grall@arm.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
KVM: arm64: SVE guest support
|
expand
|
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 097b8ba..cb15f2a 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt @@ -1854,6 +1854,9 @@ Architectures: all Type: vcpu ioctl Parameters: struct kvm_one_reg (in) Returns: 0 on success, negative value on failure +Errors: + ENOENT: no such register + EINVAL: other errors, such as bad size encoding for a known register struct kvm_one_reg { __u64 id; @@ -2175,6 +2178,9 @@ Architectures: all Type: vcpu ioctl Parameters: struct kvm_one_reg (in and out) Returns: 0 on success, negative value on failure +Errors: + ENOENT: no such register + EINVAL: other errors, such as bad size encoding for a known register This ioctl allows to receive the value of a single register implemented in a vcpu. The register to read is indicated by the "id" field of the
KVM_GET_ONE_REG and KVM_SET_ONE_REG return some error codes that are not documented (but hopefully not surprising either). To give an indication of what these may mean, this patch adds brief documentation. Signed-off-by: Dave Martin <Dave.Martin@arm.com> --- Documentation/virtual/kvm/api.txt | 6 ++++++ 1 file changed, 6 insertions(+)