- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, my guest is Ubuntu 14.04, and I test my code in VMware 10.
When I launch vmx, the Ubuntu can run as VM correctly. But if I enabled the EPT, the Ubuntu hangs. I have tried to set the memory type through mtrr, failed too.
Is there any more detail information? Except the Xen link?
May I make a suggestion? There are many questions in this forumn, and a lot of answer is reference the Xen or Manaual. I know these material is good, but could some one give a more detailed answer? I have read the Manaual serval times, and the Xen is complicate, it can not help sometime.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found some existing posts related to your topics and may have some glues for you:
EPT write back memory type and Machine Check exception
KVM: Enable MTRR for EPT
-Thai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, i have tried so many times.still not work.
the strange thing is , i can see a lot of vm exit:cpuid, control register access, external interrupt. but no any response on the screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, i solved my problem.
i did not know that, my ubuntu make PAE enabled. if the PAE is enabled, PDPTE in guest not-register state must be set, and if a write to cr3 VM-exit happend, the PDPTE must be updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Congratulation Water!
If you could share a sample code of how you solve this issue for others to learn from, it would be very helpful.
Thanks,
-Thai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am sorry i could not share the code.it's commerical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No problem...I understand.
Thanks,
-Thai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
by the way, the operation is very simple.
1) get value of cr3, we get the base address of the pdpte.
2) then write the pdpte to guest not-register state.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page