On 2011-05-20 17:49, Peter Maydell wrote: > This patchset reverts commit f68b9d672, which was triggering > spuriously for NICs created via -device rather than -net nic. > It then reimplements the improved diagnostics with a different > approach which only applies to '-net nic'. (It's only -net nic > devices that can be ignored (ie not instantiated); -device > nic devices are always instantiated. Checking for -device user > errors like "this device wasn't plugged into any bus" is > a separate issue not addressed here.)
But we still have the problem that qemu_new_nic does not call net_init_nic. That means e.g. that NICs instantiated via -device don't participate in automatic MAC assignment. Maybe fixing that makes this series obsolete. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux