|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 2/2] tools: set event channel HVM parameters in libxenguest
On 08.12.21 14:43, Andrew Cooper wrote: On 08/12/2021 08:47, Juergen Gross wrote:The HVM parameters for pre-allocated event channels should be set in libxenguest, like it is done for PV guests and for the pre-allocated ring pages. Suggested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>I'm not sure that we have the concept of pre-allocated ring pages. For PV, we have: dom->console_pfn = xc_dom_alloc_page(dom, "console"); if ( dom->console_pfn == INVALID_PFN ) return -1; xc_clear_domain_page(dom->xch, dom->guest_domid, xc_dom_p2m(dom, dom->console_pfn)); and for HVM, we have: dom->console_pfn = special_pfn(SPECIALPAGE_CONSOLE); xc_clear_domain_page(dom->xch, dom->guest_domid, dom->console_pfn); Isn't that a pre-allocation? The PFNs are fixed at boot time of the guest. With a suitable tweak to the commit message (probably just deleting the final clause), Reivewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> That said...diff --git a/tools/libs/light/libxl_dom.c b/tools/libs/light/libxl_dom.c index fe9f760f71..c9c24666cd 100644 --- a/tools/libs/light/libxl_dom.c +++ b/tools/libs/light/libxl_dom.c @@ -723,9 +723,8 @@ out:static int hvm_build_set_params(xc_interface *handle, uint32_t domid, Yes, this should be in another patch, though. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |