Files
qemu/hw
Alexey Kardashevskiy b26696b519 spapr_pci: Fix number of returned vectors in ibm, change-msi
Current guest kernels try allocating as many vectors as the quota is.
For example, in the case of virtio-net (which has just 3 vectors)
the guest requests 4 vectors (that is the quota in the test) and
the existing ibm,change-msi handler returns 4. But before it returns,
it calls msix_set_message() in a loop and corrupts memory behind
the end of msix_table.

This limits the number of vectors returned by ibm,change-msi to
the maximum supported by the actual device.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-stable@nongnu.org
[agraf: squash in bugfix from aik]
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:27 +02:00
..
2013-12-24 18:02:18 +01:00
2014-05-28 17:36:21 +02:00
2014-05-30 13:10:07 -06:00
2014-06-16 13:24:26 +02:00
2014-06-16 13:24:26 +02:00
2014-06-10 09:50:27 +02:00
2014-05-28 17:36:21 +02:00
2013-08-22 19:10:27 +02:00
2014-06-11 00:25:06 +01:00