aboutsummaryrefslogtreecommitdiff
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-05-07 12:55:01 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-05-07 12:55:01 +0100
commitc8d8ef00a121ee7326c87a76cc9f49716ed68917 (patch)
treefae1c4b1ed1ca2849b82670e796220c9fee675c1 /dma-helpers.c
parent19eb2d4e736dc895f31fbd6b520e514f10cc08e0 (diff)
pc: Rearrange pc_system_firmware_init()'s legacy -drive loop
The loop does two things: map legacy -drive to properties, and collect all the backends for use after the loop. The next patch will factor out the former for reuse in hw/arm/virt.c. To make that easier, rearrange the loop so it does the first thing first, and the second thing second. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190416091348.26075-2-armbru@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions