|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 06/14 v4] xen/arm: vpl011: Add a new domctl API to initialize vpl011
On 06/14/2017 10:16 AM, Bhupinder Thakur wrote: Hi Julien, Hi Bhupinder,
What do you mean by the domain has not been created? The domain has already been created (you have a domid in hand) when you libxl__build_pre. So the problem is different. Looking at the code, I guess the problem is because the vuart pfn will be allocated by xc_dom_build_image called by libxl_build_pv -> libxl__build_dom. So I had to create another function which will be called from libxl__build_post() after domain has been setup. It looks a bit odd to me to create the vpl011 UART that late in the process because when you read the code you would expect all the hardware to be setup after libxl__arch_domain_finalise_hw_descriptions is called. But I understand it is not possible to do it as the ring has not yet been allocated. So is there a way to allocate the ring before? Wei, Ian, do you have any opinions on what should the workflow in libxl? Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |