Searched hist:"7 ce21016b69b512bf4777965a4292318f2bc7544" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 7ce21016b69b512bf4777965a4292318f2bc7544 Fri Nov 22 06:39:47 CST 2013 Paolo Bonzini <pbonzini@redhat.com> block: handle ENOTSUP from discard in generic code
Similar to write_zeroes, let the generic code receive a ENOTSUP for discard operations. Since bdrv_discard has advisory semantics, we can just swallow the error.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Peter Lieven <pl@kamp.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|