summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorYuri Benditovich <yuri.benditovich@daynix.com>2025-05-15 09:32:37 +0300
committerMichael S. Tsirkin <mst@redhat.com>2025-06-01 06:38:53 -0400
commitac8fc4ccacd8a77d8d56dc3990bfb221c1f48fcd (patch)
treea4a65ccb9b2f7f29ee1a267d5a207d8b66d42e10 /hw/pci/pci.c
parentd2e9b78162e31b1eaf20f3a4f563da82da56908d (diff)
downloadfocaccia-qemu-ac8fc4ccacd8a77d8d56dc3990bfb221c1f48fcd.tar.gz
focaccia-qemu-ac8fc4ccacd8a77d8d56dc3990bfb221c1f48fcd.zip
virtio: check for validity of indirect descriptors
virtio processes indirect descriptors even if the respected
feature VIRTIO_RING_F_INDIRECT_DESC was not negotiated.
If qemu is used with reduced set of features to emulate the
hardware device that does not support indirect descriptors,
the will probably trigger problematic flows on the hardware
setup but do not reveal the  mistake on qemu.
Add LOG_GUEST_ERROR for such case. This will issue logs with
'-d guest_errors' in the command line

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Message-Id: <20250515063237.808293-1-yuri.benditovich@daynix.com>
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions