Re: [Qemu-devel] [PATCH 7/8] virtio-scsi: do not use vring in dataplane

2016-02-16 Thread Fam Zheng
On Sun, 02/14 18:17, Paolo Bonzini wrote: > typedef struct VirtIOSCSICommon { <...> > bool dataplane_disabled; This was only set by virtio_scsi_migration_state_changed and should be replaced by dataplane_started and dataplane_fenced now. Fam

[Qemu-devel] [PATCH 7/8] virtio-scsi: do not use vring in dataplane

2016-02-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- hw/scsi/virtio-scsi-dataplane.c | 196 +--- hw/scsi/virtio-scsi.c | 52 ++- include/hw/virtio/virtio-scsi.h | 21 + 3 files changed, 35 insertions(+), 234 deletions(-) diff --git a/hw/scsi/virtio-scsi-da