From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?6ams56OK?= Subject: Re: =?utf-8?q?=5BBUG=5D=3A_when_using_=60xl_restore=60?= =?utf-8?q?=EF=BC=8Cxc=5Fevtchn=5Falloc=5Funbound_will_raise_this_e?= =?utf-8?q?rror?= Date: Thu, 27 Dec 2012 10:12:28 +0800 Message-ID: References: <20121226134131.GA25087@iceland> <20121226193312.GA28152@iceland> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4049107114575591363==" Return-path: In-Reply-To: <20121226193312.GA28152@iceland> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============4049107114575591363== Content-Type: multipart/alternative; boundary=047d7b66f24b2c6c1804d1cc14e8 --047d7b66f24b2c6c1804d1cc14e8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Dec 27, 2012 at 3:33 AM, Wei Liu wrote: > On Wed, Dec 26, 2012 at 02:45:46PM +0000, =E9=A9=AC=E7=A3=8A wrote: > > 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 > > I didn't say xm restore either. I was referring to the generic > save/restore functionality, though in fact I did use xl. And the > function I told you is in Xen hypervisor source code, not part of any > tool stack. > > Whichever tools stack you use, it will eventually issue hypercall to Xen > via libxc. I don't use the same version as yours since I always plays > with xen staging unstable. However I don't think allocation code > has potential difference between 4.1.2 and staging unstable. > > > Wei. > I got it, but the error ` xc: error: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1 (3 =3D No such process): Internal error. ` said no such process, the system error description didn't seem has anything to do with the following lines wich raised 85 state->store_port =3D xc_evtchn_alloc_unbound(ctx->xch, domid, 0); 86 state->console_port =3D xc_evtchn_alloc_unbound(ctx->xch, domid, 0); --047d7b66f24b2c6c1804d1cc14e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Thu, Dec 27, 2012 at 3:33 AM, Wei Liu= <Wei.Liu2@citrix.com> wrote:
On Wed, Dec 26, 2012 at 02:45:46PM +0000, =E9=A9=AC=E7=A3= =8A wrote:
> 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

I didn't say xm restore either. I was referring to the generic save/restore functionality, though in fact I did use xl. And the
function I told you is in Xen hypervisor source code, not part of any
tool stack.

Whichever tools stack you use, it will eventually issue hypercall to Xen via libxc. I don't use the same version as yours since I always plays with xen staging unstable. However I don't think allocation code
has potential difference between 4.1.2 and staging unstable.


Wei.
I got it, but the error ` =C2=A0xc: error: do_evtchn_op: HY= PERVISOR_event_channel_op failed: -1 (3 =3D No such process): Internal erro= r.=C2=A0` said no such process, the system error description
didn't seem has anything to do with the following lines wich raised=C2= =A0
=C2=A085 =C2=A0 =C2=A0s= tate->store_port =3D xc_evtchn_alloc_unbound(ctx->xch, domid, 0);
=C2=A086 =C2=A0 =C2=A0state->conso= le_port =3D xc_evtchn_alloc_unbound(ctx->xch, domid, 0); --047d7b66f24b2c6c1804d1cc14e8-- --===============4049107114575591363== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4049107114575591363==--