VirtualBox and vtophys

Giovanni Trematerra giovanni.trematerra at gmail.com
Wed Feb 24 14:35:46 UTC 2010


On Wed, Feb 24, 2010 at 12:41 PM, Jacques Fourie
<jacques.fourie at gmail.com> wrote:
> I've noticed that my virtualbox vboxdrv.ko started crashing after
> updating my 8.0-stable install. The crash occurs when vboxdrv calls
> vtophys() on a userland virtual address. Prior to r202894 this was
> working fine. Modifying pmap_kextract() to use vtopte() for non-kernel
> virtual adresses fixes the problem. Is it intended for vtophys() to
> still work on userland virtual addresses?

No, vtophys is not intended to be used along with user virtual addresses.

--
Gianni


More information about the freebsd-hackers mailing list