WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH 3/4] xen: introduce an event channel for buffered

To: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/4] xen: introduce an event channel for buffered io event notifications
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: 2011年11月15日 17:24:58 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, "agraf@xxxxxxx" <agraf@xxxxxxx>
Delivery-date: 2011年11月15日 09:25:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1111151716340.3519@kaball-desktop >
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <alpine.DEB.2.00.1111151354000.3519@kaball-desktop > <1321368671-1134-3-git-send-email-stefano.stabellini@xxxxxxxxxxxxx> <1321377235.3664.151.camel@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1111151716340.3519@kaball-desktop >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2011年11月15日 at 17:20 +0000, Stefano Stabellini wrote:
> On 2011年11月15日, Ian Campbell wrote:
> > > + xc_get_hvm_param(xen_xc, xen_domid, HVM_PARAM_BUFIOREQ_EVTCHN,
> > > + &bufioreq_evtchn);
> > > + rc = xc_evtchn_bind_interdomain(state->xce_handle, xen_domid,
> > > + (uint32_t)bufioreq_evtchn);
> > > + if (rc == -1) {
> > > + fprintf(stderr, "bind interdomain ioctl error %d\n", errno);
> > > + return -1;
> > > + }
> > > + state->bufioreq_local_port = rc;
> > 
> > Does this fallback gracefully on hypervisors which don't have this new
> > hvm param? It doesn't look like it but perhaps I'm missing something.
>
> No, it does not.
> However upstream Qemu doesn't work very well with Xen 4.1 anyway, the
> first Xen release that is going to support it will be Xen 4.2 that
> should have this feature.
In which case I think you need to handle the resultant error from
xc_get_hvm_param() gracefully with a suitable error message which says
something along those lines.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 3/4] xen: introduce an event channel for buffered io event notifications , Stefano Stabellini
Next by Date: [Xen-devel] [xen-unstable test] 9799: regressions - FAIL , xen . org
Previous by Thread: Re: [Xen-devel] [PATCH 3/4] xen: introduce an event channel for buffered io event notifications , Stefano Stabellini
Next by Thread: [Xen-devel] [xen-unstable test] 9789: tolerable FAIL - PUSHED , xen . org
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /