]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vfio-pci: VGA quirk update
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 15 Jul 2013 21:48:11 +0000 (15:48 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 15 Jul 2013 21:48:11 +0000 (15:48 -0600)
commit39360f0b91d38790b5756d621ca9a7dd93ca8816
tree7b5066a3e08a87e37fe9a652db697baa6356800b
parentc3cb8e77804313e1be99b5f28a34a346736707a5
vfio-pci: VGA quirk update

Turns out all the suspicions for AMD devices were correct, everywhere
we read a BAR address that the address matches the config space offset,
there's full access to PCI config space.  Attempt to generalize some
helpers to allow quirks to easily be added for mirrors and windows.
Also fill in complete config space for AMD.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/misc/vfio.c