On 5/19/26 03:23, Kim, Dongwon wrote: >> Can virtio_gpu_remove_from_restore_list() be moved to >> virtio_gpu_cmd_unref_resource()? > Yes, technically it can be done and we can remove some redundancy but > don't you think adding it or removing it from the list would be better to be > handled outside of vq functions (virtgpu_vq.c) where actual communication > messages are processed?
cmd_unref() indeed isn't a good fit Could you please check if list node can now be removed from virtio_gpu_cleanup_object()? IIRC, there was a problem with that in older patch versions. -- Best regards, Dmitry
