3d26a2d801
[ Upstream commit 310227f42882c52356b523e2f4e11690eebcd2ab ]
Currently, we don't reenable the config if freezing the device failed.
For example, virtio-mem currently doesn't support suspend+resume, and
trying to freeze the device will always fail. Afterwards, the device
will no longer respond to resize requests, because it won't get notified
about config changes.
Let's fix this by re-enabling the config if freezing fails.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtio.c | ||
virtio_anchor.c | ||
virtio_balloon.c | ||
virtio_dma_buf.c | ||
virtio_input.c | ||
virtio_mem.c | ||
virtio_mmio.c | ||
virtio_pci_common.c | ||
virtio_pci_common.h | ||
virtio_pci_legacy.c | ||
virtio_pci_legacy_dev.c | ||
virtio_pci_modern.c | ||
virtio_pci_modern_dev.c | ||
virtio_ring.c | ||
virtio_vdpa.c |