>
>
> 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}