On Thu, Jun 16, 2005 at 12:37:46AM +0800, Tian, Kevin wrote:
Yes, so far so good. But the memory isn't mapped into the target
domain's physical address space yet, so the target domain will die
as soon as you start it. Where do you do this?
It's control panel's responsibility to update physical->machine and
machine->physical mapping for target domain. You can look at other part
of my last mail, DOM0_GET_MEMLIST actually give control panel that type
of info. Then control panel will call mmu_update to setup necessary
mapping as a necessary step before resuming to 1st instruction of target
domain. Then target domain back to alive. :)
Okay, so you have implemented HYPERVISOR_mmu_update. I'm happy with that
solution, do you already have a patch for that? I guess I'll have to
adapt it for the 3 level PT anyway.
Matt