[PATCH 07/17] kvm tools: pci: add MMIO interface to virtio-pci devices

2014-02-04 Thread Will Deacon
This patch adds an MMIO interface for each virtio-pci device, so that they can be accessed without having to use an ioport. For each device, a new memory BAR is added which corresponds to an area of MMIO space with a shim trap handler. This handler simply translates the access into an ioport

[PATCH 07/17] kvm tools: pci: add MMIO interface to virtio-pci devices

2014-02-04 Thread Will Deacon
This patch adds an MMIO interface for each virtio-pci device, so that they can be accessed without having to use an ioport. For each device, a new memory BAR is added which corresponds to an area of MMIO space with a shim trap handler. This handler simply translates the access into an ioport