]> xenbits.xen.org Git - xenclient/ioemu.git/commit
passthrough: Fix MSI/MSI-X capability structure virtualization code
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 24 Mar 2009 18:22:30 +0000 (18:22 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 24 Mar 2009 18:22:30 +0000 (18:22 +0000)
commitc12f8a6de27840f40c2d5fe99bec8a40fcd85003
tree08958cd2a11afdc7c91d1cbc336cbca95a9e4287
parent545882583159e9cc53cde5965277967092459f37
passthrough: Fix MSI/MSI-X capability structure virtualization code

This patch fixes MSI/MSI-X capability structure virtualization code.

Currently, xen does not support multiple message (multiple vector).
So multiple message capable field should be emulated and fixed to 0
(single vector).

With the patch, my FC-HBA works when I assign it to guest domain where
windows 2008 runs.

In addition to this, initial values of emulated registers should be
the same with initial values defined in PCI spec. If initial values
are not defined, they should be 0. The emulated field mask and
read-only field mask are also fixed.

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