vfio-pci pull request 20130401

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.13 (GNU/Linux)
 
 iQIcBAABAgAGBQJRWeK9AAoJECObm247sIsiU8EP/2i0jOwlFVW7ujp0bb3seGCs
 BbkVESc2ZsvHNvKmTjW7BK23ZjYrF3vYCSpZedsJztD07S85rng4hZlL5d8R6kt/
 1JXLehNvclcIRwnbz25bP+AFe7UHRLEqRN5q15T+b/Rpun5PmY4Wq6rCVte5K68S
 fwvXtwfvtX1qHFbRdUlw2tOwfjK6HNisQbcYlaxR+wuLpmfrGtTBBApdbHsPF75e
 T52zi7o3yGIsITujwe3J9Siur3c/0razBcB3fhg5YNJG5swisNPCfCRPe6wZIT6P
 CXu4+X+5V0vMU6M8QcN65NybfVmH1vOxALFoQ3gaFjX80XOCVpeECECCOyhFrjqu
 CZgTRE5ZsLXNfH6AAiV51s+np5nMyeiiRpzMyK/hp5++Eb79Xtcb2Z9m2GN7Pxhf
 iX6pgkS+E/DjfEuLt2btIMmy01EJuKQNe6zV/AcGOrlyHXkA40ZXemyE9ThgpPDA
 UcIRXDfCzRJrFx0ERJ/ecTrU9gHjH8WRmqc59kOltAOchAFFRQVQymfhhRk9s4jV
 C2V3zpHHFAuoUGbfayJaNPK+ukXxCo9SnXb0dAIaC4+H4O7AQEP/ZDZCOSuicWOC
 6O/3JIKEf+P3x9LZNmTYauJy+9C3MwIRWHRelA9w3QorKeLAEM4zvkBYkuivGnGV
 m+Kl1DyRd/VZk4spK50f
 =9CLK
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20130401.0' into staging

vfio-pci pull request 20130401

# gpg: Signature made Mon 01 Apr 2013 02:40:45 PM CDT using RSA key ID 3BB08B22
# gpg: Can't check signature: public key not found

# By Alex Williamson
# Via Alex Williamson
* awilliam/tags/vfio-pci-for-qemu-20130401.0:
  vfio: cleanup includes
  vfio: Add bootindex support
  vfio-pci: Move devices to D0 on reset
  vfio-pci: Add extra debugging
  qemu vfio-pci: Graphics device quirks
  qemu vfio-pci: Add support for VGA MMIO and I/O port access
  vfio-pci: Add PCIe capability mangling based on bus type
  vfio-pci: Generalize PCI config mangling
  linux-headers: Update to v3.9-rc2
This commit is contained in:
Anthony Liguori 2013-04-02 08:12:16 -05:00
commit a130c6b2b1
2 changed files with 1128 additions and 55 deletions

File diff suppressed because it is too large Load Diff

View File

@ -303,6 +303,15 @@ enum {
VFIO_PCI_BAR5_REGION_INDEX,
VFIO_PCI_ROM_REGION_INDEX,
VFIO_PCI_CONFIG_REGION_INDEX,
/*
* Expose VGA regions defined for PCI base class 03, subclass 00.
* This includes I/O port ranges 0x3b0 to 0x3bb and 0x3c0 to 0x3df
* as well as the MMIO range 0xa0000 to 0xbffff. Each implemented
* range is found at it's identity mapped offset from the region
* offset, for example 0x3b0 is region_info.offset + 0x3b0. Areas
* between described ranges are unimplemented.
*/
VFIO_PCI_VGA_REGION_INDEX,
VFIO_PCI_NUM_REGIONS
};