|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [RFC][PATCH] foreign domain p2m table exposure
Hi.
This patch isn't finished. Xen and kernel part is implemented
and only compile-tested.
But I wanted to get comment before starting rewriting
libxc save/restore/dump-core.
Currently the already implemented p2m table exposure is self exposure.
It is used by kernel to optimize the gpfn -> mfn conversion.
On the other hand, What I call foreign domain p2m table exposure is
to expose the p2m table of a given domain to dom0.
In particular, libxc save/restore/dump-core in my mind.
They can be improved as follows.
What do you think about those?
- save
xc_get_pfn_list() is obsoleted, but it uses xc_ia64_get_pfn_list().
So save shouldn't use it.
- restore
Currently it allocates all the pages for a domain,
and deallocates pages which isn't used as the last step.
It can allocate pages on demand.
- dump-core
Currently 'xm dump-core' produces a ton of "non-allocated mpa" warning
message, it's very annoying.
It can be elminated.
The basic logic is same as self p2m exposure, however
the implementation is a little bit more complicated than
self p2m exposure because
- it needs to track exposing to prevent a domain from destroying.
- it needs to support unexposing.
Thanks.
--
yamahata
15146_8ebdf907115d_foreign_domain_p2m_exposure.patch
Description: Text Data
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-ia64-devel] [RFC][PATCH] foreign domain p2m table exposure,
Isaku Yamahata <=
|
|
|
|
|