]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/mips/mips_malta: Create IDE hard drive array dynamically
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 14 Oct 2019 20:20:13 +0000 (22:20 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 5 Nov 2019 22:33:12 +0000 (23:33 +0100)
commitfff21c129d0c6a78e9e2e52e4974c4d3904aedce
treecb5d56b1b8b676e7ff796325c28992c43d007237
parentfff123b8fd03433b89b0e8448a6809d4fec1f721
hw/mips/mips_malta: Create IDE hard drive array dynamically

In the next commit we'll refactor the PIIX4 code out of
mips_malta_init(). As a preliminary step, add the 'ide_drives'
variable and create the drive array dynamically.

Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/mips/mips_malta.c