Re: [PATCH 2/9] hw/sd: Extract address_in_range() helper, log invalid accesses

2021-08-05 Thread Eric Blake
On Wed, Jun 23, 2021 at 08:00:14PM +0200, Philippe Mathieu-Daudé wrote: > Multiple commands have to check the address requested is valid. check that the > Extract this code pattern as a new address_in_range() helper, and > log invalid accesses as guest errors. > > Signed-off-by: Philippe Mathieu

Re: [PATCH] gluster: Align block-status tail

2021-08-05 Thread Eric Blake
On Thu, Aug 05, 2021 at 04:36:03PM +0200, Max Reitz wrote: > gluster's block-status implementation is basically a copy of that in > block/file-posix.c, there is only one thing missing, and that is > aligning trailing data extents to the request alignment (as added by > commit 9c3db310ff0). > > Not

Re: [PATCH 1/9] hw/sd: When card is in wrong state, log which state it is

2021-08-05 Thread Eric Blake
On Wed, Jun 23, 2021 at 08:00:13PM +0200, Philippe Mathieu-Daudé wrote: > We report the card is in an inconsistent state, but don't precise s/don't/aren't/ > in which state it is. Add this information, as it is useful when > debugging problems. > > Signed-off-by: Philippe Mathieu-Daudé > --- >

Re: [RFC PATCH 6/9] tests/acceptance: Use image_expand() in test_arm_orangepi_bionic_20_08

2021-08-05 Thread Niek Linnenbank
Hi Philippe, Op wo 23 jun. 2021 20:00 schreef Philippe Mathieu-Daudé : > U-Boot expects the SD card size to be at least 2GiB, so > expand the SD card image to this size before using it. > > Signed-off-by: Philippe Mathieu-Daudé > --- > TODO: U-Boot reference? > --- > tests/acceptance/boot_linux

Re: [PATCH 5/9] tests/acceptance: Use image_expand() in test_arm_orangepi_uboot_netbsd9

2021-08-05 Thread Niek Linnenbank
Hi Philippe, Op wo 4 aug. 2021 22:55 schreef Philippe Mathieu-Daudé : > Hi Niek, > > On 6/23/21 8:00 PM, Philippe Mathieu-Daudé wrote: > > The NetBSD OrangePi image must be at least 2GiB, not less. > > Expand the SD card image to this size before using it. > > > > Signed-off-by: Philippe Mathieu-

[PATCH] gluster: Align block-status tail

2021-08-05 Thread Max Reitz
gluster's block-status implementation is basically a copy of that in block/file-posix.c, there is only one thing missing, and that is aligning trailing data extents to the request alignment (as added by commit 9c3db310ff0). Note that 9c3db310ff0 mentions that "there seems to be no other block driv

Re: [PATCH v2] block/io_uring: resubmit when result is -EAGAIN

2021-08-05 Thread Stefano Garzarella
On Wed, Aug 04, 2021 at 06:52:15PM +0200, Kevin Wolf wrote: Am 04.08.2021 um 16:50 hat Stefano Garzarella geschrieben: On Mon, Aug 02, 2021 at 02:40:36PM +0200, Kevin Wolf wrote: > Am 29.07.2021 um 11:10 hat Fabian Ebner geschrieben: > > Linux SCSI can throw spurious -EAGAIN in some corner cases

Re: [PATCH 0/7] floppy: build as modules.

2021-08-05 Thread Gerd Hoffmann
On Wed, Aug 04, 2021 at 05:19:02PM +0200, Philippe Mathieu-Daudé wrote: > +Mark > > On 8/4/21 4:27 PM, Gerd Hoffmann wrote: > > Some code shuffling needed beforehand due to floppy being part of > > several platforms. While being at it also make floppy optional > > in pc machine type. > > > flo