Received: by mail.netbsd.org (Postfix, from userid 605) id 3FE0E84D72; Thu, 18 Mar 2021 15:36:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7B05084D63 for ; Thu, 18 Mar 2021 15:36:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id bmab1mqgno-j for ; Thu, 18 Mar 2021 15:36:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CA3DF84D26 for ; Thu, 18 Mar 2021 15:36:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C3E4BFA95; Thu, 18 Mar 2021 15:36:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1616081766117820" MIME-Version: 1.0 Date: Thu, 18 Mar 2021 15:36:06 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/emulators/qemu To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20210318153606.C3E4BFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1616081766117820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Mar 18 15:36:06 UTC 2021 Added Files: pkgsrc/emulators/qemu: MESSAGE.NetBSD Removed Files: pkgsrc/emulators/qemu: MESSAGE Log Message: qemu: Limit MESSAGE to NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.3 -r0 pkgsrc/emulators/qemu/MESSAGE cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/qemu/MESSAGE.NetBSD Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1616081766117820 Content-Disposition: inline Content-Length: 1334 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/emulators/qemu/MESSAGE.NetBSD diff -u /dev/null pkgsrc/emulators/qemu/MESSAGE.NetBSD:1.1 --- /dev/null Thu Mar 18 15:36:06 2021 +++ pkgsrc/emulators/qemu/MESSAGE.NetBSD Thu Mar 18 15:36:06 2021 @@ -0,0 +1,27 @@ +=========================================================================== +$NetBSD: MESSAGE.NetBSD,v 1.1 2021/03/18 15:36:06 jperkin Exp $ + +To use the NetBSD/amd64 Virtual Memory Monitor (NVMM) for QEMU : + +Load the NVMM kernel driver if not already loaded +# modload nvmm + +You may want to run the NVMM tests to confirm that your setup is correct: +# cd /usr/tests/lib/libnvmm/ +# atf-run | atf-report + +Configure the permissions once either by adding the username(s) of its users +to the nvmm group in /etc/groups or if thats not possible, issue + +sudo chown root:nvmm ${PREFIX}/bin/qemu-system-x86_64 +sudo chmod g+s ${PREFIX}/bin/qemu-system-x86_64 +sudo chown root:nvmm ${PREFIX}/bin/qemu-system-i386 +sudo chmod g+s ${PREFIX}/bin/qemu-system-i386 + +Append "-accel nvmm" to your usual Qemu command line +$ qemu-system-x86_64 -smp 4 -m 8G -cdrom Win10_2004_English_x64.iso -accel nvmm + +See nvmm(4) and nvmmctl(8) or visit + https://m00nbsd.net/4e0798b7f2620c965d0dd9d6a7a2f296.html for more info. + +=========================================================================== --_----------=_1616081766117820--