Received: by mail.netbsd.org (Postfix, from userid 605) id 0A7F184D88; Sun, 19 Apr 2020 18:47:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 64E6084D7F for ; Sun, 19 Apr 2020 18:47:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id t02TDLKWW5zm for ; Sun, 19 Apr 2020 18:47:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id ECECD84D7E for ; Sun, 19 Apr 2020 18:47:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DB391FB27; Sun, 19 Apr 2020 18:47:40 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 19 Apr 2020 18:47:40 +0000 From: "Jaromir Dolecek" Subject: CVS commit: src/sys/arch/xen To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200419184740.DB391FB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jaromir Dolecek" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: jdolecek Date: Sun Apr 19 18:47:40 UTC 2020 Modified Files: src/sys/arch/xen/include: xen_shm.h src/sys/arch/xen/x86: xen_shm_machdep.c src/sys/arch/xen/xen: hypervisor.c xbdback_xenbus.c Log Message: change interface for xen_shm_map() so that caller always supplies the VA, it now fails only if the Xen hypercall fails, in which case the failure is final change xbdback to pre-allocate KVA on xbdback attach (and free on detach), so it has always KVA to map the request pages remove no longer needed KVA allocation failure handling To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/xen/include/xen_shm.h cvs rdiff -u -r1.14 -r1.15 src/sys/arch/xen/x86/xen_shm_machdep.c cvs rdiff -u -r1.74 -r1.75 src/sys/arch/xen/xen/hypervisor.c cvs rdiff -u -r1.78 -r1.79 src/sys/arch/xen/xen/xbdback_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.