Re: [Qemu-devel] Strange behaviour in network device initialization.

2017-03-19 Thread Marc Bommert
> Peter Maydell hat am 18. März 2017 um 23:22 > geschrieben: > > This is expected, because you're creating two devices. > Device 1 is the one that's created by calling > mydevice_init() here in the board code. > Device 2 is created because you say "-device mydevice" > on the command line. I see

Re: [Qemu-devel] Strange behaviour in network device initialization.

2017-03-18 Thread Peter Maydell
On 18 March 2017 at 21:15, Marc Bommert wrote: > I ran into some behaviour I don't understand and which may be a qemu problem > but which may also be my fault, since I haven't investigated much on QOM so > far. > I am currently writing a NIC sysbus device based on the structure of > hw/net/smc9

[Qemu-devel] Strange behaviour in network device initialization.

2017-03-18 Thread Marc Bommert
Hello development, I ran into some behaviour I don't understand and which may be a qemu problem but which may also be my fault, since I haven't investigated much on QOM so far. I am currently writing a NIC sysbus device based on the structure of hw/net/smc91c111.c qemu is invoked as: $ qemu-