« Previous | Next » 

Revision 0a61f3b4

ID0a61f3b4782d4dd431c8d6cca6d7fd48d68e1b59

Added by Alexey Kardashevskiy over 10 years ago

spapr-vlan: flush queue whenever can_receive can go from false to true

When the guests adds buffers to receive queue, the network device
should flush its queue of pending packets. This is done with
qemu_flush_queued_packets.

This adds a call to qemu_flush_queued_packets() which wakes up the main
loop and let QEMU update the network device status which now is "can
receive". The patch basically does the same thing as e8b4c68 does.

Suggested-by: Max Filippov <>
Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences