Re: [PATCH RFC 1/2] qdev: add debug interface to kick/call eventfd

2021-01-19 Thread Eric Blake
On 1/14/21 6:27 PM, Dongli Zhang wrote: > The virtio device/driver (e.g., vhost-scsi) may hang due to the lost of IRQ s/lost/loss/ > or the lost of doorbell register kick, e.g., and again > > https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg01711.html > > This patch adds a new debug

[PATCH RFC 1/2] qdev: add debug interface to kick/call eventfd

2021-01-14 Thread Dongli Zhang
The virtio device/driver (e.g., vhost-scsi) may hang due to the lost of IRQ or the lost of doorbell register kick, e.g., https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg01711.html This patch adds a new debug interface 'DeviceEvent' to DeviceClass to help narrow down if the issue is due