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

2017-06-26 Thread Eduardo Habkost
On Mon, Jun 26, 2017 at 10:39:53AM +0800, Peter Xu wrote: > On Fri, Jun 23, 2017 at 06:31:27PM -0300, Eduardo Habkost wrote: > > On Fri, Jun 23, 2017 at 12:46:38PM +0800, Peter Xu wrote: > > > Introduce this new field for the accelerator classes so that each > > > specific accelerator in the future

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

2017-06-25 Thread Peter Xu
On Fri, Jun 23, 2017 at 06:31:27PM -0300, Eduardo Habkost wrote: > On Fri, Jun 23, 2017 at 12:46:38PM +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 v5 02/10] accel: introduce AccelClass.global_props

2017-06-23 Thread Eduardo Habkost
On Fri, Jun 23, 2017 at 12:46:38PM +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 v5 02/10] accel: introduce AccelClass.global_props

2017-06-22 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. Introduce register_comp