Roger Pau Monne 7f22201ac8 xen-block: fix reporting of discard feature
Linux blkfront expects both "discard-granularity" and
"discard-alignment" present on xenbus in order to properly enable the
feature, not exposing "discard-alignment" left some Linux blkfront
versions with a broken discard setup. This has also been addressed in
Linux with:

https://lore.kernel.org/lkml/20210118151528.81668-1-roger.pau@citrix.com/T/#u

Fix QEMU to report a "discard-alignment" of 0, in order for it to work
with older Linux frontends.

Reported-by: Arthur Borsboom <arthurborsboom@gmail.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Message-Id: <20210118153330.82324-1-roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-02-15 15:10:14 +01:00
..
2021-01-22 18:26:40 +01:00
2021-01-12 21:19:02 +00:00
2021-01-08 15:13:38 +00:00
2021-02-11 11:50:14 +00:00
2021-02-05 08:52:58 -05:00
2021-02-10 15:42:20 +00:00
2021-01-01 22:57:15 +00:00
2021-02-11 11:50:14 +00:00
2021-02-08 15:15:32 +01:00
2021-02-05 08:52:58 -05:00