kernel_samsung_a53x/drivers/virtio
David Hildenbrand f3e15dd5e0 virtio: reenable config if freezing device failed
commit 310227f42882c52356b523e2f4e11690eebcd2ab upstream.

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: 22b7050a024d ("virtio: defer config changed notifications")
Cc: <stable@kernel.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20240213135425.795001-1-david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:23:15 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio.c virtio: reenable config if freezing device failed 2024-11-19 09:23:15 +01:00
virtio_balloon.c virtio_balloon: Fix endless deflation and inflation on arm64 2024-11-18 10:58:28 +01:00
virtio_dma_buf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_input.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_mmio.c virtio-mmio: fix memory leak of vm_dev 2024-11-18 10:58:28 +01:00
virtio_pci_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_pci_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_pci_legacy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_pci_modern.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_ring.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_vdpa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00