qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] spapr_pci: Fix number of returned vectors in ib


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] spapr_pci: Fix number of returned vectors in ibm, change-msi
Date: Mon, 14 Apr 2014 15:10:50 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0


On 14.04.14 14:55, Alexey Kardashevskiy wrote:
On 04/07/2014 10:53 PM, Alexey Kardashevskiy wrote:
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 <address@hidden>
---


This might go to 2.0 actually.

Ping? Ok, not 2.0 but ppc-next-2.1 or ppc-next? :)

Thanks, applied to ppc-next and tagged as stable.


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]