[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 2/2] tools/helpers: set event channel for PVH xenstore-stubdom console
In contrast to the PFN of the console ring page the event channel of the console isn't being set automatically by xc_dom_build_image(). Call xc_hvm_param_set() explicitly for that reason. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- V2: - new patch --- tools/helpers/init-xenstore-domain.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/helpers/init-xenstore-domain.c b/tools/helpers/init-xenstore-domain.c index 9457d0251b..3eff839827 100644 --- a/tools/helpers/init-xenstore-domain.c +++ b/tools/helpers/init-xenstore-domain.c @@ -249,6 +249,14 @@ static int build(xc_interface *xch) fprintf(stderr, "xc_domain_set_memory_map failed\n"); goto err; } + + rv = xc_hvm_param_set(xch, domid, HVM_PARAM_CONSOLE_EVTCHN, + console_evtchn); + if ( rv ) + { + fprintf(stderr, "xc_hvm_param_set failed\n"); + goto err; + } } rv = xc_dom_build_image(dom); if ( rv ) -- 2.26.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |