aboutsummaryrefslogtreecommitdiff
path: root/include/hw/virtio/dataplane/vring.h
diff options
context:
space:
mode:
authorLe Tan <tamlokveer@gmail.com>2014-07-02 08:06:35 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2014-07-15 19:28:02 -0500
commit14d9fb02c26133f637b3184fb4c766098e2f635e (patch)
tree199ea9846ac249716cb2d55334dfe0c99219c896 /include/hw/virtio/dataplane/vring.h
parent53e4895c985c7dbadd47915706c9bdfe7471aa51 (diff)
pci: assign devfn to pci_dev before calling pci_device_iommu_address_space()
In function do_pci_register_device() in file hw/pci/pci.c, move the assignment of pci_dev->devfn to the position before the call to pci_device_iommu_address_space(pci_dev) which will use the value of pci_dev->devfn. Fixes: 9eda7d373e9c691c070eddcbe3467b991f67f6bd pci: Introduce helper to retrieve a PCI device's DMA address space Cc: qemu-stable@nongnu.org Signed-off-by: Le Tan <tamlokveer@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> (cherry picked from commit efc8188e9398e54567b238b756eec2cc746cd2a4) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'include/hw/virtio/dataplane/vring.h')
0 files changed, 0 insertions, 0 deletions