hw/pci-host: Use memory_region_init_rom() with read-only regions
commit4f1c3fd35eb56dbe479e6d66ce296ccc67a440fe
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 24 Feb 2020 18:51:23 +0000 (24 19:51 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Mar 2020 14:18:47 +0000 (17 15:18 +0100)
tree6c995d2fdb7fe8e2b51665d0429d2bd4be68db76
parentfcd3b0855ea43bc7ce0a75527cd53c734c236be3
hw/pci-host: Use memory_region_init_rom() with read-only regions

This commit was produced with the Coccinelle script
scripts/coccinelle/memory-region-housekeeping.cocci.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/pci-host/prep.c