[PATCHv2] Fix segmentation fault when VM shutdown with virtio-gpu unplugged

2023-12-13 Thread Binfeng Wu via
>From 366ba4e21d8a11728957ccdcf974317e84fac140 Mon Sep 17 00:00:00 2001 From: wangmeiling Date: Thu, 14 Dec 2023 07:22:08 + Subject: [PATCH] Fix bugs when VM shutdown with virtio-gpu unplugged Virtio-gpu malloc memory for the queue when it realized, but the queues was not released when it

Re: [PATCH] Fix segmentation fault when VM shutdown with virtio-gpu unplugged

2023-11-09 Thread Binfeng Wu via
Sorry for this mistake. Please check now. Please let us know if we need resubmit it. >From e798cf68b1a4043dcf8dda9b895812c1dab88da2 Mon Sep 17 00:00:00 2001 From: wangmeiling Date: Fri, 10 Nov 2023 10:17:54 +0800 Subject: [PATCH] Fix segmentation fault when VM shutdown with virtio-gpu unplugged

[PATCH] Fix segmentation fault when VM shutdown with virtio-gpu unplugged

2023-11-09 Thread Binfeng Wu via
From: wangmeiling In the virtio-gpu unrealize process, the vdev structure has been cleaned up. However, vm_change_state_handler is not cleaned up yet, which is related to vdev. This handler will be cleaned up when VM shutdown, but the vdev is already a null pointer at this time, this will lead