xemu/hw/pci
Peter Maydell fefa92565f hw/pci/pci.c: Use memory_region_init_rom()
Since we pass the same DeviceState object to
memory_region_init_rom_nomigrate() and vmstate_register_ram(), we can
switch to using memory_region_init_rom() instead.

(This isn't entirely obvious from the code since it is using
&pdev->qdev rather than DEVICE(pdov) for some reason, but
PCIDevice does indeed use 'qdev' for its parent DeviceState member.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1499438577-7674-10-git-send-email-peter.maydell@linaro.org
2017-07-14 17:59:42 +01:00
..
Makefile.objs
msi.c
msix.c
pci_bridge.c
pci_host.c
pci-stub.c hw/pci: define msi_nonbroken in pci-stub 2017-07-11 11:18:37 +03:00
pci.c hw/pci/pci.c: Use memory_region_init_rom() 2017-07-14 17:59:42 +01:00
pcie_aer.c
pcie_host.c
pcie_port.c
pcie.c
shpc.c pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
slotid_cap.c pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
trace-events