pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/qemu Provide an alternative less intrusive w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61c614b68146
branches:  trunk
changeset: 448944:61c614b68146
user:      reinoud <reinoud%pkgsrc.org@localhost>
date:      Thu Mar 18 15:19:49 2021 +0000

description:
Provide an alternative less intrusive way of setting the permissions for NVMM.

diffstat:

 emulators/qemu/MESSAGE |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 8ae0c0eaa28c -r 61c614b68146 emulators/qemu/MESSAGE
--- a/emulators/qemu/MESSAGE    Thu Mar 18 15:04:53 2021 +0000
+++ b/emulators/qemu/MESSAGE    Thu Mar 18 15:19:49 2021 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index