diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-10-15 15:15:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-23 16:41:25 +0200 |
commit | 4adea8042f880dd9bd7cb5c191a781ec86fdc587 (patch) | |
tree | 0d75f8c4c20c17e37cf0e96d1f8dcc2484020a3b /include | |
parent | 361dcc790db8c87b2e46ab610739191ced894c44 (diff) | |
download | qemu-4adea8042f880dd9bd7cb5c191a781ec86fdc587.tar.gz qemu-4adea8042f880dd9bd7cb5c191a781ec86fdc587.tar.bz2 qemu-4adea8042f880dd9bd7cb5c191a781ec86fdc587.zip |
virtio-scsi: dataplane: stop trying on notifier error
There's no use to constantly trying to enable dataplane if we failed
to set up guest or host notifiers, so fence it off in that case.
We'll try again if the device is reinitialized.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/virtio/virtio-scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h index 1ce08581ea..9e1a49c2c1 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; + bool dataplane_fenced; Error *blocker; Notifier migration_state_notifier; } VirtIOSCSI; |