summary refs log tree commit diff stats
path: root/hw/intc/ompic.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2017-10-15 10:05:59 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2017-10-19 07:45:35 +0100
commitbcf9e2c2f2b7a610efaafc4bd6d0bee9181c2345 (patch)
tree082607f0bca2aba2ef5791dae75e522ff365ace0 /hw/intc/ompic.c
parent6864fa38972081833f79b39df74b9c08cc94f6cc (diff)
downloadfocaccia-qemu-bcf9e2c2f2b7a610efaafc4bd6d0bee9181c2345.tar.gz
focaccia-qemu-bcf9e2c2f2b7a610efaafc4bd6d0bee9181c2345.zip
sun4u: fix assert when adding NICs which aren't the in-built model
Commit 8d93297 introduced a bug whereby non-inbuilt NICs are realized before
setting the default MAC address causing an assert. Switch NIC creation
over from pci_create_simple() to pci_create() which works exactly the
same except omitting the realize as originally intended.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Diffstat (limited to 'hw/intc/ompic.c')
0 files changed, 0 insertions, 0 deletions