aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorPhilip Chen <[email protected]>2024-08-15 00:46:17 +0000
committerMichael S. Tsirkin <[email protected]>2024-11-12 23:07:24 +0000
commit76f0d870e75e0b00843668ace7603a47890cb9ff (patch)
treed05c209e21a9d017d81bd9d54f5f585caa898212 /drivers/platform/x86/intel/pmt/class.c
parentvdpa/mlx5: Fix suboptimal range on iotlb iteration (diff)
downloadkernel-76f0d870e75e0b00843668ace7603a47890cb9ff.tar.gz
kernel-76f0d870e75e0b00843668ace7603a47890cb9ff.zip
virtio_pmem: Add freeze/restore callbacks
Add basic freeze/restore PM callbacks to support hibernation (S4): - On freeze, delete vq and quiesce the device to prepare for snapshotting. - On restore, re-init vq and mark DRIVER_OK. Signed-off-by: Philip Chen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions