]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
hw/pci: delay bus_master_enable_region initialization
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 27 Jun 2016 15:38:32 +0000 (18:38 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Jul 2016 11:50:01 +0000 (14:50 +0300)
commitb86eacb804bdb92acc48cab8cd2a465714a829ab
treeabbd4f799a09a988cc9554a69c511cc5d4132548
parent1b04cc801adff9ddf5aca9afe0e19df54290ca2c
hw/pci: delay bus_master_enable_region initialization

Skip bus_master_enable region creation on PCI device init
in order to be sure the IOMMU device (if present) would
be created in advance. Add this memory region at machine_done time.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
include/hw/pci/pci_bus.h
include/sysemu/sysemu.h
vl.c