|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
RE: [Xen-ia64-devel] [Patch] Add more dom0 operations
>-----Original Message-----
>From: Matt Chapman [mailto:matthewc@xxxxxx]
>Sent: Thursday, June 16, 2005 12:13 AM
>To: Tian, Kevin
>
>On Wed, Jun 15, 2005 at 05:49:57PM +0800, Tian, Kevin wrote:
>>
>> A simplified flow of control panel is:
>>
>> 1. DOM0_DO_CREATEDOMAIN to create housekeeping structures within
>HV
>> 2. DOM_MEM_OP to allocate configured memory to specified domain.
>> Note: In this step, all required machine pages have already been
>> allocated and linked under page_list of that domain.
>> 3. DOM0_GET_MEMLIST to get active page list of domain to be
constructed
>> Note: No newly allocation should happen within this hypercall,
>> which just aims to get list from step 2.
>> 4. Then CP will manipulate domain's memory based on info from step3.
>
>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?
>
>Matt
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. :)
Thanks,
Kevin
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|