[PULL 1/3] util/aio: Defer disabling poll mode as long as possible

2023-01-23 Thread Stefan Hajnoczi
From: Chao Gao When we measure FIO read performance (cache=writethrough, bs=4k, iodepth=64) in VMs, ~80K/s notifications (e.g., EPT_MISCONFIG) are observed from guest to qemu. It turns out those frequent notificatons are caused by interference from worker threads. Worker threads queue bottom hal

[PULL 3/3] block/blkio: Fix inclusion of required headers

2023-01-23 Thread Stefan Hajnoczi
From: Peter Krempa After recent header file inclusion rework the build fails when the blkio module is enabled: ../block/blkio.c: In function ‘blkio_detach_aio_context’: ../block/blkio.c:321:24: error: implicit declaration of function ‘bdrv_get_aio_context’; did you mean ‘qemu_get_aio_context’?

[PULL 2/3] virtio-blk: simplify virtio_blk_dma_restart_cb()

2023-01-23 Thread Stefan Hajnoczi
virtio_blk_dma_restart_cb() is tricky because the BH must deal with virtio_blk_data_plane_start()/virtio_blk_data_plane_stop() being called. There are two issues with the code: 1. virtio_blk_realize() should use qdev_add_vm_change_state_handler() instead of qemu_add_vm_change_state_handler().

[PULL 0/3] Block patches

2023-01-23 Thread Stefan Hajnoczi
The following changes since commit 00b1faea41d283e931256aa78aa975a369ec3ae6: Merge tag 'pull-target-arm-20230123' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-01-23 13:40:28 +) are available in the Git repository at: https://gitlab.com/stefanha/qem

Re: [PATCH] block/blkio: Fix inclusion of required headers

2023-01-23 Thread Stefan Hajnoczi
On Mon, Jan 23, 2023 at 01:39:27PM +0100, Peter Krempa wrote: > After recent header file inclusion rework the build fails when the blkio > module is enabled: > > ../block/blkio.c: In function ‘blkio_detach_aio_context’: > ../block/blkio.c:321:24: error: implicit declaration of function > ‘bdrv_ge

Re: [PATCH v6 00/33] Consolidate PIIX south bridges

2023-01-23 Thread Bernhard Beschow
Am 23. Januar 2023 09:25:51 UTC schrieb "Philippe Mathieu-Daudé" : >On 20/1/23 13:22, Bernhard Beschow wrote: >> Am 13. Januar 2023 17:39:45 UTC schrieb Bernhard Beschow : >>> Am 13. Januar 2023 08:46:53 UTC schrieb "Philippe Mathieu-Daudé" >>> : On 9/1/23 18:23, Bernhard Beschow wrote: >

Re: [PATCH] block/blkio: Fix inclusion of required headers

2023-01-23 Thread Markus Armbruster
Peter Krempa writes: > After recent header file inclusion rework the build fails when the blkio > module is enabled: > > ../block/blkio.c: In function ‘blkio_detach_aio_context’: > ../block/blkio.c:321:24: error: implicit declaration of function > ‘bdrv_get_aio_context’; did you mean ‘qemu_get_a

Re: [PATCH] block/blkio: Fix inclusion of required headers

2023-01-23 Thread Peter Krempa
On Mon, Jan 23, 2023 at 15:01:37 +0100, Markus Armbruster wrote: > Peter Krempa writes: > > > After recent header file inclusion rework the build fails when the blkio > > module is enabled: > > > > ../block/blkio.c: In function ‘blkio_detach_aio_context’: > > ../block/blkio.c:321:24: error: impli

[PATCH] block/blkio: Fix inclusion of required headers

2023-01-23 Thread Peter Krempa
After recent header file inclusion rework the build fails when the blkio module is enabled: ../block/blkio.c: In function ‘blkio_detach_aio_context’: ../block/blkio.c:321:24: error: implicit declaration of function ‘bdrv_get_aio_context’; did you mean ‘qemu_get_aio_context’? [-Werror=implicit-fu

Re: [PATCH v6 00/33] Consolidate PIIX south bridges

2023-01-23 Thread Philippe Mathieu-Daudé
On 20/1/23 13:22, Bernhard Beschow wrote: Am 13. Januar 2023 17:39:45 UTC schrieb Bernhard Beschow : Am 13. Januar 2023 08:46:53 UTC schrieb "Philippe Mathieu-Daudé" : On 9/1/23 18:23, Bernhard Beschow wrote: This series consolidates the implementations of the PIIX3 and PIIX4 south bridges an