Message ID | 1547757219-19439-25-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 687B36C2 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 17 Jan 2019 21:05:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5775D2A4F8 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 17 Jan 2019 21:05:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46B632A72E; Thu, 17 Jan 2019 21:05:05 +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 E3A242A4F8 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 17 Jan 2019 21:05:04 +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=V5Ia2Og92S6jXM n5BragV56RJXR3OeeslnDnGCnk5V8i1OaHB6C95VsT7zhnGa9Snbe6nAIn9BeR8vM7q+Mg8SjU6fw uT7eyLmAWrLCvWNy9nulbAfvx6W18wbH8E2tlIJFjh9JS8k6y1+mnwno1L0gHA1TZtfdtdTwT9Adw TzH52KCA5KHT7xSCVAQr0S7ZA0J8RTtfQlzNRdlfeJl1PKhOf0OStSMNyx4P21eBS61ihEpuqSozS De4OCOTZqUSAH5WNF3I9up3CfNKAo9yozHMO8HH9RomUqVfcShCUq0PYSpUlseu7JQfNvYrz2eSYB G0ruFhGOxmqkX8o8S7tg==; 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 1gkEcZ-0002Qv-NF; Thu, 17 Jan 2019 20:50:39 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkEcN-0001sB-R0 for linux-arm-kernel@bombadil.infradead.org; Thu, 17 Jan 2019 20:50:27 +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=neX6j1RlM58su9tNrxRjzsF+78 CQBZ1v5DL6bMnbThvsQGDULaJG9q/ZirAxGZmuwLKXCUUFpXGxK5HgiWiLBufdwH5fK/zIoBDxq1d tRgXzehpLWfzxYKE8v+YIAQAbDj6jzH/cpmyQ503reJRy9+LQ1QrE+znzPzfLH/LhvVOj7sWwYmur 1KtaUuUqIFa8/cpqGxUoLrjbawFzGUv+qvC0R6iN2FM4zh6zbZ0iNv5jIbqo4MXlYQQF5kD0lfOPj rMPUpTcCLNCZduXkuTE42uCfgFMGplZKMGYywt88a/fyRg1OQp13V7q/KsTAlFVI9wK993TzWJ2X+ DzjW0lLg==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkENk-0006oJ-Kj for linux-arm-kernel@lists.infradead.org; Thu, 17 Jan 2019 20:35:22 +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 BEED21715; Thu, 17 Jan 2019 12:35:19 -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 C57AD3F819; Thu, 17 Jan 2019 12:35:17 -0800 (PST) From: Dave Martin <Dave.Martin@arm.com> To: kvmarm@lists.cs.columbia.edu Subject: [PATCH v4 24/25] KVM: Document errors for KVM_GET_ONE_REG and KVM_SET_ONE_REG Date: Thu, 17 Jan 2019 20:33:38 +0000 Message-Id: <1547757219-19439-25-git-send-email-Dave.Martin@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1547757219-19439-1-git-send-email-Dave.Martin@arm.com> References: <1547757219-19439-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-20190117_203520_832811_EACBA4ED X-CRM114-Status: UNSURE ( 8.09 ) 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>, 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 |
[v4,01/25] KVM: Documentation: Document arm64 core registers in detail
|
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(+)