Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grant Table problem mapping dom0 mem to domU #3

Open
vitas-yuzhou opened this issue Dec 27, 2014 · 5 comments
Open

Grant Table problem mapping dom0 mem to domU #3

vitas-yuzhou opened this issue Dec 27, 2014 · 5 comments

Comments

@vitas-yuzhou
Copy link

From xen devel mailing list :http://lists.xen.org/archives/html/xen-devel/2007-07/msg00787.html,

Dom0 memory cann't be mapped to domU. So did you change some xen code to mapping dom0 mem to domU? which version is your xen hypervisor?

@jpemartins
Copy link
Contributor

Hi,

Sorry for the delay in response.

I believe that the issue pointed out in that email no longer applies in today's Xen.

No changes were made to hypervisor, but only to network backend and frontend. There are no issues in mapping Domain-0 memory to Domain-U.

@vitas-yuzhou
Copy link
Author

which version is your xen hypervisor? 4.2 or 4.4 or other?
which version is your linux kernel version for dom0?

@jpemartins
Copy link
Contributor

Any version of Xen should work (mainly tested with 4.3 and 4.4) and linux kernel up to 3.14.

@vitas-yuzhou
Copy link
Author

Hi,
I have tested again with the same xen and kernel version, but failed. I think the reason is the domain-0 memory can not mapped to domain-U. And I write a simple test application about grant table, it exactly proves that my thoughts, i.e. the same application, make the memory from domain-U be mapped to domain-0, but mapped domain-0 memory to domain-U failed. I think the fundamental cause is that domain-0 is privileged domain.

@vitas-yuzhou
Copy link
Author

I test with other way. I run xennet in driver domain, not domain-0(privileged domain). It runs successfully, and the memory of driver domain can be mapped to other domain-U. But the performance is very low, I am debugging, please give me some advise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants