Re: mmap()'ing non-vnode files

2010-11-09 Thread Mike Belopuhov
On Tue, Nov 9, 2010 at 2:22 PM, Wouter Coene wrote: > Hi, > > I'm looking into porting Linux's Kernel Virtual Machine (KVM) host to > OpenBSD. Under Linux, KVM and the user-space virtual machine share a > datastructure containing the state of the virtual CPU. This structure is > owned by the kerne

mmap()'ing non-vnode files

2010-11-09 Thread Wouter Coene
Hi, I'm looking into porting Linux's Kernel Virtual Machine (KVM) host to OpenBSD. Under Linux, KVM and the user-space virtual machine share a datastructure containing the state of the virtual CPU. This structure is owned by the kernel, and accessed from userland by mmap()'ing the file handle refe