Re: [PATCH v2 29/58] vhost-user-gpu: Move QOM macro to header

2020-08-25 Thread Daniel P . Berrangé
On Wed, Aug 19, 2020 at 08:12:07PM -0400, Eduardo Habkost wrote: > Move the VHOST_USER_GPU type checking macro to virtio-gpu.h, > close to the TYPE_VHOST_USER_GPU #define. > > This will make future conversion to OBJECT_DECLARE* easier. > > Signed-off-by: Eduardo Habkost > --- > Changes series v1

Re: [PATCH v2 29/58] vhost-user-gpu: Move QOM macro to header

2020-08-19 Thread Gerd Hoffmann
On Wed, Aug 19, 2020 at 08:12:07PM -0400, Eduardo Habkost wrote: > Move the VHOST_USER_GPU type checking macro to virtio-gpu.h, > close to the TYPE_VHOST_USER_GPU #define. > > This will make future conversion to OBJECT_DECLARE* easier. > > Signed-off-by: Eduardo Habkost Reviewed-by: Gerd Hoffma

[PATCH v2 29/58] vhost-user-gpu: Move QOM macro to header

2020-08-19 Thread Eduardo Habkost
Move the VHOST_USER_GPU type checking macro to virtio-gpu.h, close to the TYPE_VHOST_USER_GPU #define. This will make future conversion to OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost --- Changes series v1 -> v2: new patch in series v2 Cc: "Michael S. Tsirkin" Cc: "Marc-André Lureau"