aboutsummaryrefslogtreecommitdiff
path: root/hw/display/virtio-gpu-base.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-07-26 21:39:28 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-08-07 15:45:25 +0400
commit957d77863e4564454eb97f8f371096843daf4678 (patch)
treebb7c6a00c9357ba378e6a7a67b145d0db9ed2992 /hw/display/virtio-gpu-base.c
parent81cd34a359a36656d2f6542226235bd318ff8873 (diff)
downloadqemu-957d77863e4564454eb97f8f371096843daf4678.zip
qemu-957d77863e4564454eb97f8f371096843daf4678.tar.gz
qemu-957d77863e4564454eb97f8f371096843daf4678.tar.bz2
virtio-gpu: free BHs, by implementing unrealize
Acked-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230726173929.690601-2-marcandre.lureau@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu-base.c')
-rw-r--r--hw/display/virtio-gpu-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c
index 7ab7d08..ca1fb7b 100644
--- a/hw/display/virtio-gpu-base.c
+++ b/hw/display/virtio-gpu-base.c
@@ -244,7 +244,7 @@ virtio_gpu_base_set_features(VirtIODevice *vdev, uint64_t features)
trace_virtio_gpu_features(((features & virgl) == virgl));
}
-static void
+void
virtio_gpu_base_device_unrealize(DeviceState *qdev)
{
VirtIOGPUBase *g = VIRTIO_GPU_BASE(qdev);