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

2024-01-30 Thread Marc-André Lureau
Hi On Mon, Jan 29, 2024 at 7:46 PM 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

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

2024-01-29 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. Signed-off-by