* Is there a way for privileged domain to map arbitrary machine page?
@ 2010-01-02 8:32 Wei LIU
2010-01-02 10:18 ` Samuel Thibault
0 siblings, 1 reply; 2+ messages in thread
From: Wei LIU @ 2010-01-02 8:32 UTC (permalink / raw)
To: xen-devel
Hi, all
I want to map arbitrary machine pages to a privileged domain (not
dom0) with memory related hypercalls.
The machine pages I want to map belong to other domain. Also, those
pages are not part of the caller domain. When I try
HYPERVISOR_update_va_mapping, the hypervisor complains on this
operation, and, of course, pages won't be correctly mapped.
I also discover a function in mm.c, share_xen_page_with_guest(). So, I
first map that page to Xen, then try to share this page with my
privileged domain. But this operation will mess up the whole system. I
get several kernel stack traces when launching xend.
I heard about a mechanism call "foreign map", but I can't find details
about it. As for grant table, I think that's too high an abstraction
for my need, so I haven't tried that yet. Any suggestion on how to
accomplish my object?
Thanks in advanced!
Wei LIU
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-02 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 8:32 Is there a way for privileged domain to map arbitrary machine page? Wei LIU
2010-01-02 10:18 ` Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.