diff options
| author | Mark Cave-Ayland | 2017-06-29 16:07:16 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-07-03 21:29:49 +0200 |
| commit | 3c1aa733d914c1f69f678b4e40ac9b5afc1ea174 (patch) | |
| tree | 81e0edcab5faf3b5375d75297ac991ade6bc4f80 /scripts/modules | |
| parent | fw_cfg: don't map the fw_cfg IO ports in fw_cfg_io_realize() (diff) | |
| download | qemu-3c1aa733d914c1f69f678b4e40ac9b5afc1ea174.tar.gz qemu-3c1aa733d914c1f69f678b4e40ac9b5afc1ea174.tar.xz qemu-3c1aa733d914c1f69f678b4e40ac9b5afc1ea174.zip | |
fw_cfg: move setting of FW_CFG_VERSION_DMA bit to fw_cfg_init1()
The setting of the FW_CFG_VERSION_DMA bit is the same across both the
TYPE_FW_CFG_MEM and TYPE_FW_CFG_IO devices, so unify the logic in
fw_cfg_init1().
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: Philippe Mathieu-Daudé <f4bug@amsat.org>
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/modules')
0 files changed, 0 insertions, 0 deletions
