]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
passthrough: Fix MSI-x devices assignment.
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 4 Jan 2010 17:49:06 +0000 (17:49 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 4 Jan 2010 17:49:06 +0000 (17:49 +0000)
commit2621a102cd74cd6691bed30f638581639fcb141d
treeb9b7eb754f75c41fb3fdba44bbaed16806bbbc7b
parentd2c66581e5941c75cae1bd0d652be217008cce4c
passthrough: Fix MSI-x devices assignment.

Currenlty, assigned MSI-x devices fails to
work due to incorrect table_offset_adjust setting.
The last field msix_entryof struct pt_msix_info is
a variable-size array, so there shouldn't be any field
after it, otherwise they maybe destroyed
when access msix_entry.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xiantao.zhang@intel.com>
hw/pass-through.h