summaryrefslogtreecommitdiff
path: root/drivers/vdpa
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2024-02-13 17:25:58 +0300
committerMichael S. Tsirkin <mst@redhat.com>2024-03-19 09:45:49 +0300
commitc4e8b5aed7cd18bb8377b6dd461e336688c5d503 (patch)
tree8c2e2128c1806348f18b36d9c9cf1bf6d1f34129 /drivers/vdpa
parent310227f42882c52356b523e2f4e11690eebcd2ab (diff)
downloadlinux-c4e8b5aed7cd18bb8377b6dd461e336688c5d503.tar.xz
vdpa: skip suspend/resume ops if not DRIVER_OK
If a vdpa device is not in state DRIVER_OK, then there is no driver state to preserve, so no need to call the suspend and resume driver ops. Suggested-by: Eugenio Perez Martin <eperezma@redhat.com>" Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Message-Id: <1707834358-165470-1-git-send-email-steven.sistare@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Eugenio PĂ©rez <eperezma@redhat.com>
Diffstat (limited to 'drivers/vdpa')
0 files changed, 0 insertions, 0 deletions