virtio-pci: address space translation service (ATS) support
commit615c4ed20598ab3eda5e071ba7ba2a5bf70be59f
authorJason Wang <jasowang@redhat.com>
Fri, 30 Dec 2016 10:09:15 +0000 (30 18:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 03:56:59 +0000 (10 05:56 +0200)
tree28db0d008fd713671715aba171b882c41fd1f60d
parent554f5e16046236b264c66436870be1b4ef25c1dc
virtio-pci: address space translation service (ATS) support

This patches enable the Address Translation Service support for virtio
pci devices. This is needed for a guest visible Device IOTLB
implementation and will be required by vhost device IOTLB API
implementation for intel IOMMU.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h
include/hw/pci/pcie.h
include/standard-headers/linux/pci_regs.h