Revert "virtio: use virtio_device_ready() in virtio_device_restore()"
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Mar 2022 06:19:16 +0000 (02:19 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Mar 2022 08:18:14 +0000 (04:18 -0400)
commit7414539c5f2e43bad67ae88a3612455d01583429
tree3bb19053ce71187cbb49810d8936e72a775cd91a
parentad6dc1daaf29f97f23cc810d60ee01c0e83f4c6b
Revert "virtio: use virtio_device_ready() in virtio_device_restore()"

This reverts commit 8d65bc9a5be3f23c5e2ab36b6b8ef40095165b18.

We reverted the problematic changes, no more need for work
arounds on restore.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/virtio/virtio.c