commit | d51e9fe505f7c7b97762100dd0e42cef43c90524 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 22 13:39:43 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Dec 03 15:26:48 2013 +0100 |
tree | 28ddf312698d6f0f9708c59f09db0c3d0d657d28 | |
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>