On Mon, Mar 18, 2013 at 09:07:21PM -0600, Alex Williamson wrote:
As QEMU gains PCI bridge and PCIe root port support, we won't always find the VGA device on the root bus. We therefore need to add support to find and enable a VGA device and the path to it through the VGA Enable support in the PCI bridge control register.
Thanks. I'm okay with the change. It would be nice if someone more familiar with the QEMU side could ack this patch.
As a minor nitpick - there is a pci_config_maskw() that would simplify your code.
-Kevin