mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Revert "virtio: sync the dataplane vring state to the virtqueue before virtio_save"
This reverts commit10a06fd65f
. Dataplane has used the same virtqueue code as non-dataplane since commitse24a47c5b7
("virtio-scsi: do not use vring in dataplane") and03de2f5274
("virtio-blk: do not use vring in dataplane"). It is no longer necessary to stop dataplane in order to sync state since there is no duplicated virtqueue state. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Message-id: 1466503331-9831-1-git-send-email-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
fdc997ef54
commit
17c42b1f6b
2 changed files with 0 additions and 10 deletions
|
@ -666,11 +666,6 @@ static void virtio_scsi_reset(VirtIODevice *vdev)
|
|||
static void virtio_scsi_save(QEMUFile *f, void *opaque)
|
||||
{
|
||||
VirtIODevice *vdev = VIRTIO_DEVICE(opaque);
|
||||
VirtIOSCSI *s = VIRTIO_SCSI(vdev);
|
||||
|
||||
if (s->dataplane_started) {
|
||||
virtio_scsi_dataplane_stop(s);
|
||||
}
|
||||
virtio_save(vdev, f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue