aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2023-10-25 11:18:41 -0600
committerMichael S. Tsirkin <mst@redhat.com>2023-12-25 11:34:55 -0500
commitdf72f01104ae9a68f356ae412776b209f04d27cc (patch)
treef7144562aabbbc6b4fd2c01de8c965719cd60bb8 /tests
parent80f1709aa0eb4de09b4240563463f991a5b9d855 (diff)
downloadqemu-df72f01104ae9a68f356ae412776b209f04d27cc.zip
qemu-df72f01104ae9a68f356ae412776b209f04d27cc.tar.gz
qemu-df72f01104ae9a68f356ae412776b209f04d27cc.tar.bz2
virtio: rng: Check notifier helpers for VIRTIO_CONFIG_IRQ_IDX
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.poirier@linaro.org> Message-Id: <20231025171841.3379663-1-mathieu.poirier@linaro.org> Tested-by: Leo Yan <leo.yan@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions