Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-29 Thread Kevin Wolf
ists.xenproject.org; Eduardo Habkost > > ; Michael S. Tsirkin ; Marcel > > Apfelbaum ; Anthony Perard > > ; Paolo Bonzini ; Richard > > Henderson > > Subject: RE: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > > 'XenDevice' object hierarchy > > &g

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Anthony PERARD
On Wed, Nov 28, 2018 at 05:17:10PM +, Paul Durrant wrote: > > Will we need a hotplug handler for this bus, like it is done with > > TYPE_XENSYSBUS? > > I didn't seem to need one even doing 'xl block-attach' after the VM had > booted. I'm really not sure what that does. Indeed, that works

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Paul Durrant
> -Original Message- > From: Anthony PERARD [mailto:anthony.per...@citrix.com] > Sent: 28 November 2018 17:10 > To: Paul Durrant > Cc: qemu-block@nongnu.org; qemu-de...@nongnu.org; xen- > de...@lists.xenproject.org; Stefano Stabellini ; > Michael S. Tsirkin ; Marcel Apfelbaum > ; Paolo

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Anthony PERARD
On Wed, Nov 21, 2018 at 03:11:55PM +, Paul Durrant wrote: > diff --git a/hw/xen/xen-bus.c b/hw/xen/xen-bus.c > new file mode 100644 > index 00..dede2d914a > --- /dev/null > +++ b/hw/xen/xen-bus.c > @@ -0,0 +1,125 @@ > +/* > + * Copyright (c) Citrix Systems Inc. > + * All rights

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Paul Durrant
> ; Marcel Apfelbaum ; Anthony > Perard ; Paolo Bonzini ; > Richard Henderson > Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > 'XenDevice' object hierarchy > > Am 21.11.2018 um 16:11 hat Paul Durrant geschrieben: > > This patch adds the basic b

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Paul Durrant
Habkost ; Michael > S. Tsirkin ; Marcel Apfelbaum > ; Anthony Perard ; > Paolo Bonzini ; Richard Henderson > Subject: RE: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > 'XenDevice' object hierarchy > > On Wed, 28 Nov 2018, Paul Durrant wrote: > > > -Orig

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Stefano Stabellini
rg; Stefano Stabellini ; > > Eduardo Habkost ; Michael S. Tsirkin > > ; Marcel Apfelbaum ; Anthony > > Perard ; Paolo Bonzini ; > > Richard Henderson > > Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > > 'XenDevice' objec

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Paul Durrant
Anthony > Perard ; Paolo Bonzini ; > Richard Henderson > Subject: RE: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > 'XenDevice' object hierarchy > > > -Original Message- > > From: Kevin Wolf [mailto:kw...@redhat.com] > > Sent: 28 November 2018

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Kevin Wolf
- > > de...@nongnu.org; xen-de...@lists.xenproject.org; Stefano Stabellini > > ; Eduardo Habkost ; Michael > > S. Tsirkin ; Marcel Apfelbaum > > ; Anthony Perard ; > > Paolo Bonzini ; Richard Henderson > > Subject: RE: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and &

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Paul Durrant
; Marcel > Apfelbaum ; Anthony Perard > ; Paolo Bonzini ; Richard > Henderson > Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and > 'XenDevice' object hierarchy > > Am 28.11.2018 um 17:29 hat Paul Durrant geschrieben: > > > -Original Message--

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-28 Thread Kevin Wolf
Am 21.11.2018 um 16:11 hat Paul Durrant geschrieben: > This patch adds the basic boilerplate for a 'XenBus' object that will act > as a parent to 'XenDevice' PV backends. > A new 'XenBridge' object is also added to connect XenBus to the system bus. > > The XenBus object is instantiated by a new

[Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

2018-11-21 Thread Paul Durrant
This patch adds the basic boilerplate for a 'XenBus' object that will act as a parent to 'XenDevice' PV backends. A new 'XenBridge' object is also added to connect XenBus to the system bus. The XenBus object is instantiated by a new xen_bus_init() function called from the same sites as the legacy