pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



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.

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.
+
+===========================================================================



Home | Main Index | Thread Index | Old Index