[PATCH 0/2] virtio_mmio: Fix suspend to disk (hibernation)
From: Stephan Gerhold
Date: Tue Jun 21 2022 - 07:42:47 EST
At the moment suspend to disk (hibernation) works correctly when using
virtio_pci, but not when using virtio_mmio. This is because virtio_mmio
does not call the freeze/restore callbacks provided by most virtio
drivers.
Fix this by adding the missing PM calls to virtio_mmio and restore
the guest page size for the legacy version of virtio_mmio.
Stephan Gerhold (2):
virtio_mmio: Add missing PM calls to freeze/restore
virtio_mmio: Restore guest page size on resume
drivers/virtio/virtio_mmio.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
--
2.30.2