Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose

2014-02-02 Thread Max Filippov
On Sun, Feb 2, 2014 at 1:50 PM, Paolo Bonzini wrote: > Il 02/02/2014 02:47, Max Filippov ha scritto: > >> Hello, >> >> is there any way to notify networking core that adapter's >> NetClientInfo::can_receive return value is about to change from 0 to 1? > > Yes, qemu_flush_queued_packets. > > See co

Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose

2014-02-02 Thread Paolo Bonzini
Il 02/02/2014 02:47, Max Filippov ha scritto: Hello, is there any way to notify networking core that adapter's NetClientInfo::can_receive return value is about to change from 0 to 1? Yes, qemu_flush_queued_packets. See commit e8b4c68 (e1000: flush queue whenever can_receive can go from false

[Qemu-devel] NetClientInfo::can_receive change notification and its purpose

2014-02-01 Thread Max Filippov
Hello, is there any way to notify networking core that adapter's NetClientInfo::can_receive return value is about to change from 0 to 1? I'm trying to talk to DHCP server from the recent (2014.01) u-boot running in the xtensa system emulation over the tap interface. On the guest I see the followin