Paolo Bonzini 7ce21016b6 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>
2013-12-03 15:26:49 +01:00
..
2013-10-11 16:50:00 +02:00
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-10-11 10:52:54 +02:00
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-11-28 10:30:52 +01:00
2013-08-19 15:52:19 +02:00
2013-11-29 13:40:33 +01:00
2013-09-12 10:12:47 +02:00
2013-11-29 13:40:36 +01:00
2013-11-28 10:30:51 +01:00
2013-01-15 10:03:47 +01:00
2013-09-12 10:12:48 +02:00
2013-11-07 13:58:59 +01:00
2013-12-03 09:54:16 +01:00