]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
fix PCI ROM handling problem in passthrough
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 5 Feb 2009 14:48:50 +0000 (14:48 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 5 Feb 2009 14:48:50 +0000 (14:48 +0000)
commit5a86a2cba9a2d065bad5ea67fd693e13f30c5bd1
tree46424552445ee55d0ee023bc425b0429866cf5d6
parent072a95c27d63c8b74d84f611ce34f6285af7f8ad
fix PCI ROM handling problem in passthrough

The ROM BAR doesn't get updated after writing '1' to the
/sys/bus/pci/devices/.../rom which causes ROM mapping problem.

This fix makes the ROM enabling revert to old mechanism (write
ROM BAR directly).

Kouya, thank you for testing the fix!

Reported-by: Kouya Shimura <kouya@jp.fujitsu.com>
Tested-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
hw/pass-through.c