On 2014/8/14 18:09, Michael S. Tsirkin wrote:
On Thu, Aug 14, 2014 at 02:13:57PM +0800, zhanghailiang wrote:
When the runstate changes back to running, we definitely need to flush
queues to get packets flowing again.
Here we implement this in the net layer:
(1) add a member 'VMChangeStateEntry
On 2014/8/14 18:05, Michael S. Tsirkin wrote:
On Thu, Aug 14, 2014 at 02:13:57PM +0800, zhanghailiang wrote:
When the runstate changes back to running, we definitely need to flush
queues to get packets flowing again.
Here we implement this in the net layer:
(1) add a member 'VMChangeStateEntry
On Thu, Aug 14, 2014 at 02:13:57PM +0800, zhanghailiang wrote:
> When the runstate changes back to running, we definitely need to flush
> queues to get packets flowing again.
>
> Here we implement this in the net layer:
> (1) add a member 'VMChangeStateEntry *vmstate' to struct NICState,
> Which w
On Thu, Aug 14, 2014 at 02:13:57PM +0800, zhanghailiang wrote:
> When the runstate changes back to running, we definitely need to flush
> queues to get packets flowing again.
>
> Here we implement this in the net layer:
> (1) add a member 'VMChangeStateEntry *vmstate' to struct NICState,
> Which w
On 2014/8/14 15:12, Gonglei (Arei) wrote:
Hi,
Subject: [Qemu-devel] [PATCH 2/3] net: Flush queues when runstate changes
back to running
When the runstate changes back to running, we definitely need to flush
queues to get packets flowing again.
Here we implement this in the net layer:
(1) add
Hi,
> Subject: [Qemu-devel] [PATCH 2/3] net: Flush queues when runstate changes
> back to running
>
> When the runstate changes back to running, we definitely need to flush
> queues to get packets flowing again.
>
> Here we implement this in the net layer:
> (1) add a me
When the runstate changes back to running, we definitely need to flush
queues to get packets flowing again.
Here we implement this in the net layer:
(1) add a member 'VMChangeStateEntry *vmstate' to struct NICState,
Which will listen for VM runstate changes.
(2) Register a handler function for VMs