Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 20:51:43 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        "Lyubich, M" <lyubich-freebsd1@gmx.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: kqemu, FreeBSD, and virtual filesystem
Message-ID:  <20050921185143.GA12893@saturn.kn-bremen.de>
In-Reply-To: <1127319952.1726.3.camel@sbec.Suzlon-HRO.local>
References:  <1127319952.1726.3.camel@sbec.Suzlon-HRO.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 21, 2005 at 06:25:52PM +0200, Lyubich, M wrote:
> Hello,
> 
> My question relates to accelerator KQEMU and how it should be configured
> for FreeBSD.
> 
> The documentation on the Fabrice's site
> http://fabrice.bellard.free.fr/qemu/kqemu-doc.html
> 
> states that:
> 
> "When using KQEMU on a Linux or FreeBSD host, QEMU will create a big
> hidden file containing the RAM of the virtual machine. For best
> performance, it is important that this file is kept in RAM and not on
> the hard disk. ..... You can use the QEMU_TMPDIR shell variable to set a
> new directory for the QEMU RAM file."
> 
> Applying this to freebsd, does it mean that I have to use mdconfig +
> newfs to create new filesystem and then setenv QEMU_TMPDIR=/dev/md0?

The FreeBSD port uses the MAP_ANON mmap flag, and doesnt need QEMU_TMPDIR
(see files/patch-osdep.c which patches work/qemu-snapshot-2005-09-09_23/
osdep.c:qemu_vmalloc().)  So you don't need to do anything.

	Juergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921185143.GA12893>