diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-06-29 15:07:16 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2017-07-03 22:29:49 +0300 |
| commit | 3c1aa733d914c1f69f678b4e40ac9b5afc1ea174 (patch) | |
| tree | 81e0edcab5faf3b5375d75297ac991ade6bc4f80 /hw/net/virtio-net.c | |
| parent | 91685323b142a655378b673bfcc5b424c77dfe1a (diff) | |
| download | focaccia-qemu-3c1aa733d914c1f69f678b4e40ac9b5afc1ea174.tar.gz focaccia-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 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions