You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xen allows two memory mapping mechanisms:
- Foreign mapping: entire guest space is mapped at once.
- Grant mapping: guest controls what backend is allowed to map.
Both these mechanisms required additional mapping support, for example
an ioctl() needs to be issued (with arguments passed from backend),
along with mmap().
Also for grant memory mapping, the mapping may or may not be done in
advance and may be required to be done on-demand. Support for that will
be added by a separate commit later.
Add memory mapping support for both these cases, under a new feature
"xen". Also add support to do generic Unix type mapping via Xen, in
absence of foreign or grant mapping, which will be used by test code for
other modules.
Signed-off-by: Viresh Kumar <[email protected]>
0 commit comments