Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-09 Thread Konrad Rzeszutek Wilk
> > Right, the original patch didn't break anything with PV domains. The case > > it doesn't handle is an HVM initial domain with an already-running > > Xenstore domain; I think this applies both to ARM and hybrid/PVH on x86. > > In that case, usage would be set to LOCAL instead of HVM. > > > Rig

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Stefano Stabellini
On Wed, 8 Aug 2012, Daniel De Graaf wrote: > On 08/08/2012 01:19 PM, Stefano Stabellini wrote: > > On Wed, 8 Aug 2012, Daniel De Graaf wrote: > >> On 08/08/2012 12:51 PM, Stefano Stabellini wrote: > >>> On Tue, 7 Aug 2012, Daniel De Graaf wrote: > On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Daniel De Graaf
On 08/08/2012 01:19 PM, Stefano Stabellini wrote: > On Wed, 8 Aug 2012, Daniel De Graaf wrote: >> On 08/08/2012 12:51 PM, Stefano Stabellini wrote: >>> On Tue, 7 Aug 2012, Daniel De Graaf wrote: On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 06, 2012 at 03:27:13PM +0100

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Stefano Stabellini
On Wed, 8 Aug 2012, Daniel De Graaf wrote: > On 08/08/2012 12:51 PM, Stefano Stabellini wrote: > > On Tue, 7 Aug 2012, Daniel De Graaf wrote: > >> On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: > >>> On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: > bind_evtchn_to_irq

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Daniel De Graaf
On 08/08/2012 12:51 PM, Stefano Stabellini wrote: > On Tue, 7 Aug 2012, Daniel De Graaf wrote: >> On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: >>> On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Daniel De Graaf wrote: > On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: > > On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: > >> bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not > >> an error. > >> > >> If Linux is running as an HV

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-07 Thread Daniel De Graaf
On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: >> bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not >> an error. >> >> If Linux is running as an HVM domain and is running as Dom0, use >> xenstored_local

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-07 Thread Konrad Rzeszutek Wilk
On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: > bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not > an error. > > If Linux is running as an HVM domain and is running as Dom0, use > xenstored_local_init to initialize the xenstore page and event channel. >

[PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-06 Thread Stefano Stabellini
bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and is running as Dom0, use xenstored_local_init to initialize the xenstore page and event channel. Changes in v2: - refactor xenbus_init. Signed-off-by: Stefano Stabellini ---