summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorreinoud <reinoud@pkgsrc.org>2021-03-18 15:19:49 +0000
committerreinoud <reinoud@pkgsrc.org>2021-03-18 15:19:49 +0000
commitb71a316ae0e0d363812e1a74b476b8e492350ad5 (patch)
treef3e1e4a9315a8c1cd43a8b2f59ef52a39621d2a0 /emulators
parent5576668f6c84e448c31e87499dee9b22361e11d0 (diff)
downloadpkgsrc-b71a316ae0e0d363812e1a74b476b8e492350ad5.tar.gz
Provide an alternative less intrusive way of setting the permissions for NVMM.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu/MESSAGE14
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/qemu/MESSAGE b/emulators/qemu/MESSAGE
index 5884b6e4a2e..40fd49231b2 100644
--- a/emulators/qemu/MESSAGE
+++ b/emulators/qemu/MESSAGE
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2021/03/06 11:19:34 reinoud Exp $
+$NetBSD: MESSAGE,v 1.2 2021/03/18 15:19:49 reinoud Exp $
To use the NetBSD/amd64 Virtual Memory Monitor (NVMM) for QEMU :
@@ -10,11 +10,13 @@ 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
-# chown root:nvmm ${PREFIX}/bin/qemu-system-x86_64
-# chmod g+s ${PREFIX}/bin/qemu-system-x86_64
-# chown root:nvmm ${PREFIX}/bin/qemu-system-i386
-# chmod g+s ${PREFIX}/bin/qemu-system-i386
+Configure the permissions once either by adding your usernames to the nvmm
+group in /etc/groups or 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