|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Fwd: xc_map_foreign_range()
MFN = Machine Frame Number i.e. the frame number in the *real* machine memory,
rather than the domain pseudophysical address.
> If this assumption is correct, how do I get a value for mfn? Say for
> instance, that I wanted to map the kernel running in the guest domain?
> How about a specific process?
It depends what you're doing...
If you're mapping some sort of device channel that talks to a driver in the
guest, you'd want the guest to pass you the MFN number (obtained using e.g.
"virt_to_machine() >> PAGE_SHIFT") using a control message or some other
out-of-band means.
I think the control tools use some kind of hypercall to find out the list of
pages owned by a domain for operations (e.g. for suspend / resume / domain
building).
There may be other things you could try but rather than speculating, I'll
leave it up to others. What exactly are you trying to achieve?
Cheers,
Mark
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|