[BACK]Return to MESSAGE.NetBSD CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / qemu

File: [cvs.NetBSD.org] / pkgsrc / emulators / qemu / MESSAGE.NetBSD (download)

Revision 1.1, Thu Mar 18 15:36:06 2021 UTC (10 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD

qemu: Limit MESSAGE to NetBSD.

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

===========================================================================