Re: [PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-29 Thread Marc-André Lureau
Hi On Fri, Jan 26, 2024 at 10:20 PM Manos Pitsidianakis wrote: > > On Fri, 26 Jan 2024 at 17:22, Philippe Mathieu-Daudé > wrote: > > > > Hi Manos, > > > > On 26/1/24 15:41, Manos Pitsidianakis wrote: > > > When destroying/unrefing resources, devices such as virtio-gpu-rutabaga > > > need to do

Re: [PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-26 Thread Manos Pitsidianakis
On Fri, 26 Jan 2024 at 17:22, Philippe Mathieu-Daudé wrote: > > Hi Manos, > > On 26/1/24 15:41, Manos Pitsidianakis wrote: > > When destroying/unrefing resources, devices such as virtio-gpu-rutabaga > > need to do their own bookkeeping (free rutabaga resources that are > > associated with the

Re: [PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-26 Thread Manos Pitsidianakis
On Fri, 26 Jan 2024 at 20:09, Alex Bennée wrote: > > Manos Pitsidianakis writes: > > > When destroying/unrefing resources, devices such as virtio-gpu-rutabaga > > need to do their own bookkeeping (free rutabaga resources that are > > associated with the virtio_gpu_simple_resource). > > > > This

Re: [PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-26 Thread Alex Bennée
Manos Pitsidianakis writes: > When destroying/unrefing resources, devices such as virtio-gpu-rutabaga > need to do their own bookkeeping (free rutabaga resources that are > associated with the virtio_gpu_simple_resource). > > This commit adds a class method so that virtio-gpu-rutabaga can

Re: [PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-26 Thread Philippe Mathieu-Daudé
Hi Manos, On 26/1/24 15:41, Manos Pitsidianakis wrote: When destroying/unrefing resources, devices such as virtio-gpu-rutabaga need to do their own bookkeeping (free rutabaga resources that are associated with the virtio_gpu_simple_resource). This commit adds a class method so that

[PATCH v1 2/3] virtio-gpu.c: add resource_destroy class method

2024-01-26 Thread Manos Pitsidianakis
When destroying/unrefing resources, devices such as virtio-gpu-rutabaga need to do their own bookkeeping (free rutabaga resources that are associated with the virtio_gpu_simple_resource). This commit adds a class method so that virtio-gpu-rutabaga can override it in the next commit.