On Thu, Oct 26, 2023 at 01:06:21PM +0800, Leo Yan wrote: > On Wed, Oct 25, 2023 at 11:18:41AM -0600, Mathieu Poirier wrote: > > Since the driver doesn't support interrupts, we must return early when > > index is set to VIRTIO_CONFIG_IRQ_IDX. Basically the same thing Viresh > > did for "91208dd297f2 virtio: i2c: Check notifier helpers for > > VIRTIO_CONFIG_IRQ_IDX". > > > > Fixes: 544f0278afca ("virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX") > > Signed-off-by: Mathieu Poirier <mathieu.poir...@linaro.org> > > Tested this patch and the vhost-user-i2c device works with it:
Sorry for typo. Here I am meaning the vhost-device-rng device. > Tested-by: Leo Yan <leo....@linaro.org>