On 7/9/25 18:34, Kim, Dongwon wrote: > Hi Dmitry, > > I thought about what you are saying - avoiding GPU reset and it would work > with normal > sleep and restore (s3) but the problem I saw was hibernation scenario (s4). > In this case, QEMU > process will be terminated after guest hibernation and this actually destroys > all the resources > anyway. So some sort of recreation seemed to be required from my point of > view.
Can we add proper hibernation support/handling to the virtio-gpu driver? I.e. restoring shmem buffers based on S4 PM_POST_HIBERNATION event and not resetting GPU on S3. Entering S4 then should be prohibited if 3d contexts feature enabled. -- Best regards, Dmitry