]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commit
Contain MSI errors in msi emulation code
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 26 Nov 2008 17:18:19 +0000 (17:18 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 26 Nov 2008 17:18:35 +0000 (17:18 +0000)
commit35f55c5b0b54e310c787c39bde0f723a1390e839
treefb78e5f3d2fe562144d0ce322f7a7d557165cd56
parentd07cb88f24d021751f07ec7464d81ecb2c2a3bf8
Contain MSI errors in msi emulation code

If msi=0 is specified and guest want to enable msi, qemu finds it can
not enable it and quits.  (This problem is not appicable for xen
unstable since the "msi=x" switch is removed.)  This patch let these
cases be handled inside msi emulation code. If qemu can not enable
msi, guest will not receive MSI.  But Qemu can still go on.  But if
guest driver does not test MSI's functionality, guest device will stop
to function.

Submitted-By: Haitao Shan
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
hw/pass-through.c