Skip to content
Commit f5436d1d authored by Fam Zheng's avatar Fam Zheng Committed by Michael Roth
Browse files

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: default avatarFam Zheng <famz@redhat.com>
Message-Id: <1473848224-24809-3-git-send-email-famz@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 2a2d69f4)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 3550eeaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment