diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-10-15 10:05:59 +0100 |
|---|---|---|
| committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-10-19 07:45:35 +0100 |
| commit | bcf9e2c2f2b7a610efaafc4bd6d0bee9181c2345 (patch) | |
| tree | 082607f0bca2aba2ef5791dae75e522ff365ace0 /util/oslib-posix.c | |
| parent | 6864fa38972081833f79b39df74b9c08cc94f6cc (diff) | |
| download | focaccia-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 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions