Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props

2017-06-22 Thread Peter Xu
On Thu, Jun 22, 2017 at 02:28:52PM -0300, Eduardo Habkost wrote: > On Thu, Jun 22, 2017 at 12:25:30PM +0800, Peter Xu wrote: > > On Wed, Jun 21, 2017 at 09:23:11AM -0300, Eduardo Habkost wrote: > > > On Wed, Jun 21, 2017 at 03:52:00PM +0800, Peter Xu wrote: > [...] > > > > diff --git a/vl.c b/vl.c

Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props

2017-06-22 Thread Eduardo Habkost
On Thu, Jun 22, 2017 at 12:25:30PM +0800, Peter Xu wrote: > On Wed, Jun 21, 2017 at 09:23:11AM -0300, Eduardo Habkost wrote: > > On Wed, Jun 21, 2017 at 03:52:00PM +0800, Peter Xu wrote: [...] > > > diff --git a/vl.c b/vl.c > > > index 59fea15..4452d7a 100644 > > > --- a/vl.c > > > +++ b/vl.c > > >

Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props

2017-06-21 Thread Peter Xu
On Wed, Jun 21, 2017 at 09:23:11AM -0300, Eduardo Habkost wrote: > On Wed, Jun 21, 2017 at 03:52:00PM +0800, Peter Xu wrote: > > Introduce this new field for the accelerator classes so that each > > specific accelerator in the future can register its own global > > properties to be used further by

Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props

2017-06-21 Thread Eduardo Habkost
On Wed, Jun 21, 2017 at 03:52:00PM +0800, Peter Xu wrote: > Introduce this new field for the accelerator classes so that each > specific accelerator in the future can register its own global > properties to be used further by the system. It works just like how the > old machine compatible propertie

[Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props

2017-06-21 Thread Peter Xu
Introduce this new field for the accelerator classes so that each specific accelerator in the future can register its own global properties to be used further by the system. It works just like how the old machine compatible properties do, but only tailored for accelerators. Use the newly exported