Am 18.01.2021 um 16:49 hat Paul Durrant geschrieben: > > -----Original Message----- > > From: Roger Pau Monne <roger....@citrix.com> > > Sent: 18 January 2021 15:34 > > To: qemu-de...@nongnu.org > > Cc: Roger Pau Monne <roger....@citrix.com>; Arthur Borsboom > > <arthurborsb...@gmail.com>; Stefano > > Stabellini <sstabell...@kernel.org>; Anthony Perard > > <anthony.per...@citrix.com>; Paul Durrant > > <p...@xen.org>; Kevin Wolf <kw...@redhat.com>; Max Reitz > > <mre...@redhat.com>; xen- > > de...@lists.xenproject.org; qemu-bl...@nongnu.org > > Subject: [PATCH] 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....@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 <arthurborsb...@gmail.com> > > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > > Reviewed-by: Paul Durrant <p...@xen.org>
Thanks, applied to the block branch. Kevin