On Tue, Jun 26, 2012 at 10:47:05AM +0100, Roger Pau Monne wrote:
informations. I think qemu should instruct the kernel that
things changed.
With the proposed patch, the kernel doesn't store the gfns anymore,
since the mapping is done directly, and no pagefault handler is set.
So the information (or the lack of it) stored by the NetBSD kernel
is correct.
OK. As this is a mapping which isn't consuming dom0 memory I guess it
doesn't matter much that this area is not paged. But I think PRIVCMD_MMAP
and PRIVCMD_MMAPBATCH should behave the same. I don't like much the idea
of a mapping in user area that is unknown to UVM though, can't you make
qemu unmap and remap the area with the right information ?