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:   gdt
Date:           Thu Dec  7 17:41:55 UTC 2023

Modified Files:
        pkgsrc/emulators/qemu: Makefile PLIST
Added Files:
        pkgsrc/emulators/qemu/files: README.NetBSD
Removed Files:
        pkgsrc/emulators/qemu: MESSAGE.NetBSD

Log Message:
emulators/qemu: MESSAGE exorcism

The MESSAGE content was just documentation about nvmm, which belongs
in upstream qemu docs.  It is now in README.NetBSD on the assumption
that upstream docs are lacking.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 pkgsrc/emulators/qemu/MESSAGE.NetBSD
cvs rdiff -u -r1.330 -r1.331 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.86 -r1.87 pkgsrc/emulators/qemu/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/qemu/files/README.NetBSD

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.330 pkgsrc/emulators/qemu/Makefile:1.331
--- pkgsrc/emulators/qemu/Makefile:1.330        Sun Nov 26 10:34:23 2023
+++ pkgsrc/emulators/qemu/Makefile      Thu Dec  7 17:41:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.330 2023/11/26 10:34:23 adam Exp $
+# $NetBSD: Makefile,v 1.331 2023/12/07 17:41:55 gdt Exp $
 
 DISTNAME=      qemu-8.1.3
 CATEGORIES=    emulators
@@ -185,6 +185,8 @@ post-build:
 post-install:
        ${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
                ${DESTDIR}${PREFIX}/share/doc/qemu/
+       ${INSTALL_DATA} ${FILESDIR}/README.NetBSD \
+               ${DESTDIR}${PREFIX}/share/doc/qemu/
        ${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/interop/.buildinfo
        ${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/specs/.buildinfo
        ${RM} -f ${WRKDIR}/PLIST.STATIC

Index: pkgsrc/emulators/qemu/PLIST
diff -u pkgsrc/emulators/qemu/PLIST:1.86 pkgsrc/emulators/qemu/PLIST:1.87
--- pkgsrc/emulators/qemu/PLIST:1.86    Wed Aug 23 15:19:02 2023
+++ pkgsrc/emulators/qemu/PLIST Thu Dec  7 17:41:55 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.86 2023/08/23 15:19:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.87 2023/12/07 17:41:55 gdt Exp $
 bin/elf2dmp
 ${PLIST.aarch64}bin/qemu-aarch64
 ${PLIST.aarch64_be}bin/qemu-aarch64_be
@@ -92,6 +92,7 @@ man/man8/qemu-pr-helper.8
 share/applications/qemu.desktop
 share/doc/qemu/.buildinfo
 share/doc/qemu/Makefile.multinode-NetBSD
+share/doc/qemu/README.NetBSD
 share/doc/qemu/about/build-platforms.html
 share/doc/qemu/about/deprecated.html
 share/doc/qemu/about/emulation.html

Added files:

Index: pkgsrc/emulators/qemu/files/README.NetBSD
diff -u /dev/null pkgsrc/emulators/qemu/files/README.NetBSD:1.1
--- /dev/null   Thu Dec  7 17:41:55 2023
+++ pkgsrc/emulators/qemu/files/README.NetBSD   Thu Dec  7 17:41:55 2023
@@ -0,0 +1,19 @@
+$NetBSD: README.NetBSD,v 1.1 2023/12/07 17:41:55 gdt 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.
+
+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