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
..
2017-07-13 13:49:58 +02:00
2017-07-04 14:30:03 +02:00
2016-10-04 13:28:07 +01:00
2017-07-14 12:04:41 +02:00
2017-07-14 17:59:42 +01:00
2017-05-19 10:48:54 +02:00
2017-07-14 17:59:42 +01:00
2017-06-02 11:33:53 +04:00
2017-07-14 12:04:41 +02:00
2017-07-14 12:16:09 +01:00
2017-06-09 12:02:55 +10:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:16:09 +01:00
2017-05-17 10:37:00 -03:00
2017-06-02 14:07:53 +01:00
2017-07-14 17:59:42 +01:00
2017-07-03 22:29:49 +03:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:29:49 +02:00
2016-05-18 15:04:27 +03:00
2017-07-14 12:04:42 +02:00
2017-06-02 11:33:52 +04:00
2017-01-27 18:07:59 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:04:43 +02:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:16:09 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-13 13:49:58 +02:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-03 22:29:49 +03:00
2017-07-14 17:59:42 +01:00
2016-01-29 15:07:25 +00:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:16:09 +01:00
2017-05-17 10:37:01 -03:00
2017-07-14 17:59:42 +01:00
2017-01-16 17:52:35 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-06-27 15:09:15 +02:00
2017-06-13 14:57:00 +01:00
2016-10-28 18:17:24 +03:00
2017-07-14 17:59:42 +01:00
2017-07-14 17:59:42 +01:00
2017-07-14 12:16:09 +01:00
2017-07-14 12:04:41 +02:00
2017-07-14 12:04:43 +02:00
2017-05-23 13:28:17 +02:00
2017-07-07 11:13:10 -07:00
2017-07-07 11:10:03 -07:00
2017-07-14 17:59:42 +01:00
2017-01-16 17:52:35 +01:00