diff options
author | Fam Zheng <famz@redhat.com> | 2016-09-14 18:17:04 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-14 12:25:13 +0200 |
commit | 2a2d69f490c1b1dc6b6d2aef385ee7b654497a77 (patch) | |
tree | 0b503ef5b983a3fa4553bcb5d17ac62292d8ce9f /hw/scsi/mptsas.c | |
parent | cd723b85601baa7a0eeffbac83421357a70d81ee (diff) |
virtio-scsi: Don't abort when media is ejected
With an ejected block backend, blk_get_aio_context() would return
qemu_aio_context. In this case don't assert.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1473848224-24809-3-git-send-email-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/mptsas.c')
0 files changed, 0 insertions, 0 deletions