diff options
| author | Mark Cave-Ayland | 2017-06-29 16:07:15 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-07-03 21:29:49 +0200 |
| commit | 91685323b142a655378b673bfcc5b424c77dfe1a (patch) | |
| tree | 8ad8ba8bff7e2ae246718cbf721a7cabf17e63f2 /scripts | |
| parent | i386/kvm/pci-assign: Use errp directly rather than local_err (diff) | |
| download | qemu-91685323b142a655378b673bfcc5b424c77dfe1a.tar.gz qemu-91685323b142a655378b673bfcc5b424c77dfe1a.tar.xz qemu-91685323b142a655378b673bfcc5b424c77dfe1a.zip | |
fw_cfg: don't map the fw_cfg IO ports in fw_cfg_io_realize()
As indicated by Laszlo it is a QOM bug for the realize() method to actually
map the device. Set up the IO regions within fw_cfg_io_realize() and defer
the mapping with sysbus_add_io() to the caller, as already done in
fw_cfg_init_mem_wide().
This makes the iobase and dma_iobase properties now obsolete so they can be
removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
