Skip to content
Commit b86713e3 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>
(cherry picked from commit a7dcf250aeb8e2a572774a0e51fc0432875b6661)
parent 7dc3b2e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment