|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 17/17] PVH xen: PVH dom0 creation....
>>> On 23.04.13 at 23:26, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote:
> + /* If the e820 ended under 4GB, we must map the remaining space upto 4GB
> */
> + if ( end < GB(4) )
> + {
> + start_pfn = PFN_UP(end);
> + end_pfn = (GB(4)) >> PAGE_SHIFT;
> + nump = end_pfn - start_pfn;
> + rc = domctl_memory_mapping(d, start_pfn, start_pfn, nump, 1);
> + BUG_ON(rc);
> + }
That's necessary, but not sufficient. Or did I overlook MMIO ranges
getting added somewhere else for Dom0, when they sit above the
highest E820 covered address?
> + if ( is_pvh_domain(d) )
> + {
> + v->arch.cr3 = v->arch.hvm_vcpu.guest_cr[3] = (vpt_start - v_start);
> +
> + /* HAP is required for PVH and pfns are serially mapped there */
sequentially?
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |