head	1.3;
access;
symbols
	pkgsrc-2023Q3:1.2.0.10
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.8
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.6
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.4
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.2
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.1.0.12
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.10
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.8
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.6
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.4
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.2
	pkgsrc-2021Q1-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2023.12.07.17.41.55;	author gdt;	state dead;
branches;
next	1.2;
commitid	74yg6ihMMAoJHyPE;

1.2
date	2022.09.21.18.56.32;	author wiz;	state Exp;
branches;
next	1.1;
commitid	YnHUBRFiqo4xkLUD;

1.1
date	2021.03.18.15.36.06;	author jperkin;	state Exp;
branches;
next	;
commitid	GpzNXxU6IOrFXNLC;


desc
@@


1.3
log
@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.
@
text
@===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.2 2022/09/21 18:56:32 wiz 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.

===========================================================================
@


1.2
log
@qemu: do not recommend setgid nvmm for qemu
@
text
@d2 1
a2 1
$NetBSD: MESSAGE.NetBSD,v 1.1 2021/03/18 15:36:06 jperkin Exp $
@


1.1
log
@qemu: Limit MESSAGE to NetBSD.
@
text
@d2 1
a2 1
$NetBSD: MESSAGE,v 1.3 2021/03/18 15:27:55 reinoud Exp $
d14 1
a14 6
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
@

