Re: [Qemu-devel] [PATCH V2] net: Fix dealing with packets when runstate changes

2014-08-22 Thread Jason Wang
On 08/22/2014 05:21 PM, zhanghailiang wrote: > On 2014/8/22 15:40, Jason Wang wrote: >> On 08/21/2014 08:39 PM, zhanghailiang wrote: >>> For all NICs(except virtio-net) emulated by qemu, >>> Such as e1000, rtl8139, pcnet and ne2k_pci, >>> Qemu can still receive packets when VM is not running. >>> I

Re: [Qemu-devel] [PATCH V2] net: Fix dealing with packets when runstate changes

2014-08-22 Thread zhanghailiang
On 2014/8/22 15:40, Jason Wang wrote: On 08/21/2014 08:39 PM, zhanghailiang wrote: For all NICs(except virtio-net) emulated by qemu, Such as e1000, rtl8139, pcnet and ne2k_pci, Qemu can still receive packets when VM is not running. If this happened in *migration's* last PAUSE VM stage, The new d

Re: [Qemu-devel] [PATCH V2] net: Fix dealing with packets when runstate changes

2014-08-22 Thread Jason Wang
On 08/21/2014 08:39 PM, zhanghailiang wrote: > For all NICs(except virtio-net) emulated by qemu, > Such as e1000, rtl8139, pcnet and ne2k_pci, > Qemu can still receive packets when VM is not running. > If this happened in *migration's* last PAUSE VM stage, > The new dirty RAM related to the packets

[Qemu-devel] [PATCH V2] net: Fix dealing with packets when runstate changes

2014-08-21 Thread zhanghailiang
For all NICs(except virtio-net) emulated by qemu, Such as e1000, rtl8139, pcnet and ne2k_pci, Qemu can still receive packets when VM is not running. If this happened in *migration's* last PAUSE VM stage, The new dirty RAM related to the packets will be missed, And this will lead serious network fau