]> Git Repo - qemu.git/commit
sun4u: fix assert when adding NICs which aren't the in-built model
authorMark Cave-Ayland <[email protected]>
Sun, 15 Oct 2017 09:05:59 +0000 (10:05 +0100)
committerMark Cave-Ayland <[email protected]>
Thu, 19 Oct 2017 06:45:35 +0000 (07:45 +0100)
commitbcf9e2c2f2b7a610efaafc4bd6d0bee9181c2345
tree082607f0bca2aba2ef5791dae75e522ff365ace0
parent6864fa38972081833f79b39df74b9c08cc94f6cc
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 <[email protected]>
Reviewed-by: Artyom Tarasenko <[email protected]>
hw/sparc64/sun4u.c
This page took 0.023656 seconds and 4 git commands to generate.