pci: Add PCI VGA helpers
commite01fd687185444944b0b5b0f8c739ae4b33eb029
authorAlex Williamson <alex.williamson@redhat.com>
Sun, 3 Mar 2013 17:21:26 +0000 (3 10:21 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Mar 2013 19:02:16 +0000 (26 21:02 +0200)
tree39881a0805e5b76331786b8440515ed6e4037f5d
parenta38b2c49bfd3f1cfc2aadd08cd049af16a342b1e
pci: Add PCI VGA helpers

Allow devices to register VGA memory regions for handling PCI spec
defined VGA I/O port and MMIO areas.  PCI will attach these to the
bus address spaces and enable them according to the device command
register value.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
hw/pci/pci.h