Re: [RFC PATCH-for-5.1] hw/ide: Do not block for AIO while resetting a drive

2020-07-21 Thread John Snow
On 7/20/20 6:02 AM, Stefan Hajnoczi wrote: On Fri, Jul 17, 2020 at 07:19:38PM +0200, Philippe Mathieu-Daudé wrote: Last minute chat: 19:01 f4bug: use bdrv_aio_cancel_async() if possible because it won't block the current thread. 19:02 f4bug: For example, in device emulation code where the gu

Re: [RFC PATCH-for-5.1] hw/ide: Do not block for AIO while resetting a drive

2020-07-20 Thread Stefan Hajnoczi
On Fri, Jul 17, 2020 at 07:19:38PM +0200, Philippe Mathieu-Daudé wrote: > Last minute chat: > 19:01 f4bug: use bdrv_aio_cancel_async() if possible because it > won't block the current thread. > 19:02 f4bug: For example, in device emulation code where the guest > has requested to cancel an I/O r

Re: [RFC PATCH-for-5.1] hw/ide: Do not block for AIO while resetting a drive

2020-07-17 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200717171938.1249-1-f4...@amsat.org/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/b

[RFC PATCH-for-5.1] hw/ide: Do not block for AIO while resetting a drive

2020-07-17 Thread Philippe Mathieu-Daudé
libFuzzer triggered the following assertion: cat << EOF | qemu-system-i386 -M pc-q35-5.0 \ -nographic -monitor none -serial none \ -qtest stdio -trace ide\* outl 0xcf8 0x8000fa24 outl 0xcfc 0xe106c000 outl 0xcf8 0x8000fa04 outw 0xcfc 0x7 outl 0xcf8 0x8000fb20 write 0x0 0x3 0x