Re: [Qemu-devel] [PATCH RFC] e1000: defer packets until BM enabled

2014-12-01 Thread Gabriel Somlo
Hi Michael, I had to make some small changes to get this patch to build successfully, see inline below: On Monday, December 01, 2014 11:50am, Michael S. Tsirkin [m...@redhat.com] wrote: > > Some guests seem to set BM for e1000 after > enabling RX. > If packets arrive in the window, device is we

Re: [Qemu-devel] [PATCH RFC] e1000: defer packets until BM enabled

2014-12-01 Thread Michael S. Tsirkin
On Mon, Dec 01, 2014 at 06:01:18PM +, Gabriel Somlo wrote: > Hi Michael, > > I had to make some small changes to get this patch to build successfully, > see inline below: Ouch, looks like I sent out a stale version: git commit build+edit git format-patch (without git commit) Happens to me no

[Qemu-devel] [PATCH RFC] e1000: defer packets until BM enabled

2014-12-01 Thread Michael S. Tsirkin
Some guests seem to set BM for e1000 after enabling RX. If packets arrive in the window, device is wedged. Probably works by luck on real hardware, work around this by making can_receive depend on BM. Signed-off-by: Michael S. Tsirkin --- hw/net/e1000.c | 20 +++- 1 file changed,