[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [BUG]: when using `xl restore`ïxc_evtchn_alloc_unbound will raise this error



On Wed, Dec 26, 2012 at 10:19:36AM +0000, éç wrote:
> 
> 
> On Wed, Dec 26, 2012 at 6:03 PM, éç 
> <aware.why@xxxxxxxxx<mailto:aware.why@xxxxxxxxx>> wrote:
> Hiï
>     I got xen source code from  http://www.xen.org/download/index_4.1.2.html .
>     when using `xl restore`ïxc_evtchn_alloc_unbound will raise this error: 
> xc: error: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1 (3 = No such 
> process): Internal error.
>   what does this mean and what does such process refer to?
>     Looking forward to your reply.
>     Thanks.
> 
> The error exactly occurs at  this point: (tools/libxl/libxl_dom.c)
> 67-int libxl__build_pre(libxl_ctx *ctx, uint32_t domid,
>  68              libxl_domain_build_info *info, libxl_domain_build_state 
> *state)
>  69{
>  70    xc_domain_max_vcpus(ctx->xch, domid, info->max_vcpus);
>  71    xc_domain_setmaxmem(ctx->xch, domid, info->target_memkb + 
> LIBXL_MAXMEM_CONSTANT);
>  72    xc_domain_set_memmap_limit(ctx->xch, domid,
>  73            (info->hvm) ? info->max_memkb :
>  74            (info->max_memkb + info->u.pv.slack_memkb));
>  75    xc_domain_set_tsc_info(ctx->xch, domid, info->tsc_mode, 0, 0, 0);
>  76    if ( info->disable_migrate )
>  77        xc_domain_disable_migrate(ctx->xch, domid);
>  78
>  79    if (info->hvm) {
>  80        unsigned long shadow;
>  81        shadow = (info->shadow_memkb + 1023) / 1024;
>  82        xc_shadow_control(ctx->xch, domid, 
> XEN_DOMCTL_SHADOW_OP_SET_ALLOCATION, NULL, 0, &shadow, 0, NULL);
>  83    }
>  84
>  85    state->store_port = xc_evtchn_alloc_unbound(ctx->xch, domid, 0);
>  86    state->console_port = xc_evtchn_alloc_unbound(ctx->xch, domid, 0);
>  87    return 0;
>  88}

I played with save/restore several days ago but I never saw this error.

The relavent code in Xen is in
xen/common/event_channel.c:do_event_channel_op


Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.