[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 9:41 PM, Wei Liu <Wei.Liu2@xxxxxxxxxx> wrote:
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.
I said `xl restore`, not `xm restore`, and the relevant code is in src/tools/libxl.
It seems that yours aren't the same version as mine
_______________________________________________
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®.