qubes-linux-utils/kernel-modules/u2mfn
HW42 f14637a615 u2mfn: get mfn via pte
Before this commit u2mfn got the address via kmap(get_user_pages(...)).
This has the problem that get_user_pages() does not work in some cases.
For example when qemu in a stubdom tries to get the mfn for a page which
is mapped from the target domain u2mfn fails because get_user_pages()
cannot be used for such mappings.

So get the address from the pte with apply_to_page_range(). Since we are
only interested in one page get_locked_pte() would be simpler but it's
not available to modules.
2017-07-05 20:21:22 +02:00
..
dkms.conf.in kernel-modules: build/install u2mfn module by default 2015-11-08 03:51:18 +01:00
Makefile
u2mfn.c u2mfn: get mfn via pte 2017-07-05 20:21:22 +02:00