From 3e2b2a9c49f44926b995495be5e94e61e4f29f5e Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Sun, 19 Oct 2014 12:47:42 +0800 Subject: virtio-scsi-dataplane: Add op blocker We need this to protect dataplane thread from race conditions with block jobs until the latter is made dataplane-safe. Signed-off-by: Fam Zheng Signed-off-by: Paolo Bonzini --- include/hw/virtio/virtio-scsi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/hw') diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h index d6e5e79..1ce0858 100644 --- a/include/hw/virtio/virtio-scsi.h +++ b/include/hw/virtio/virtio-scsi.h @@ -195,6 +195,7 @@ typedef struct VirtIOSCSI { bool dataplane_starting; bool dataplane_stopping; bool dataplane_disabled; + Error *blocker; Notifier migration_state_notifier; } VirtIOSCSI; -- cgit v1.1