Skip to content
Commit c4e8b5ae authored by Steve Sistare's avatar Steve Sistare Committed by Michael S. Tsirkin
Browse files

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: default avatarEugenio Perez Martin <eperezma@redhat.com&gt;">
Signed-off-by: default avatarSteve Sistare <steven.sistare@oracle.com>
Message-Id: <1707834358-165470-1-git-send-email-steven.sistare@oracle.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarEugenio Pérez <eperezma@redhat.com>
parent 310227f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment