diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-22 13:39:43 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-03 15:26:48 +0100 |
commit | d51e9fe505f7c7b97762100dd0e42cef43c90524 (patch) | |
tree | 28ddf312698d6f0f9708c59f09db0c3d0d657d28 /include | |
parent | af057fe74092df2e7a576448ddbdc0daac1370bf (diff) |
block: generalize BlockLimits handling to cover bdrv_aio_discard too
bdrv_co_discard is only covering drivers which have a .bdrv_co_discard()
implementation, but not those with .bdrv_aio_discard(). Not very nice,
and easy to avoid.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions