Commit a7dcf250 authored by David Stevens's avatar David Stevens Committed by Todd Kjos
Browse files

UPSTREAM: virtio: Add support for no-reset virtio PCI PM



If a virtio_pci_device supports native PCI power management and has the
No_Soft_Reset bit set, then skip resetting and reinitializing the device
when suspending and restoring the device. This allows system-wide low
power states like s2idle to be used in systems with stateful virtio
devices that can't simply be re-initialized (e.g. virtio-fs).

Signed-off-by: default avatarDavid Stevens <stevensd@chromium.org>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>

Bug: 318540621
Change-Id: Ifc60f72a6a6bd256fa14e291e615c7514dcb4d7d
(cherry picked from commit dff4fa0e)
Signed-off-by: default avatarPhilip Chen <philipchen@google.com>
parent 76deb683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment