]> xenbits.xensource.com Git - qemu-xen-traditional.git/commit
fix offset of MSI-X memory mapped table.
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 5 Sep 2008 09:32:49 +0000 (10:32 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 5 Sep 2008 09:32:49 +0000 (10:32 +0100)
commit5c3b16ef00b18d0c43574060ef124b4c52b2e998
treece19a969591b7af6a94706ee885c1eeeb0d2dd89
parent77fba269deee38293b44ba5a1ce7ef4c39482975
fix offset of MSI-X memory mapped table.

This patch fixes offset of MSI-X memory mapped table.

Current code does not set dev->msix->table_off variable.
The offset of MSI-X memory mapped table is treated as 0.
The wrong region is unmapped from guest physical memory space.
As a result, guest device driver can't access memory mapped resource.

The patch fixes this issue. My MegaRAID SAS assigned to guest domain
becomes working with the patch.

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
hw/pt-msi.c