diff options
author | Max Reitz | 2016-01-29 16:36:04 +0100 |
---|---|---|
committer | Max Reitz | 2016-02-02 17:50:46 +0100 |
commit | 1b1e0659a4c8888fba559e8d41051339e0a3cd8a (patch) | |
tree | 54a1763854ca21f490511e00afc41e7ea97b2d31 /hw/scsi | |
parent | block: Add BB-BDS remove/insert notifiers (diff) | |
download | qemu-1b1e0659a4c8888fba559e8d41051339e0a3cd8a.tar.gz qemu-1b1e0659a4c8888fba559e8d41051339e0a3cd8a.tar.xz qemu-1b1e0659a4c8888fba559e8d41051339e0a3cd8a.zip |
virtio-blk: Functions for op blocker management
Put the code for setting up and removing op blockers into an own
function, respectively. Then, we can invoke those functions whenever a
BDS is removed from an virtio-blk BB or inserted into it.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi')
0 files changed, 0 insertions, 0 deletions