diff options
| author | Alexey Kardashevskiy | 2014-02-14 02:27:04 +0100 |
|---|---|---|
| committer | Alexander Graf | 2014-03-05 03:07:00 +0100 |
| commit | 0a61f3b4782d4dd431c8d6cca6d7fd48d68e1b59 (patch) | |
| tree | b4c7ec9806bc11214be231e118f87c852c2088b6 /include/exec/user | |
| parent | target-ppc: Altivec 2.07: Vector Permute and Exclusive OR (diff) | |
| download | qemu-0a61f3b4782d4dd431c8d6cca6d7fd48d68e1b59.tar.gz qemu-0a61f3b4782d4dd431c8d6cca6d7fd48d68e1b59.tar.xz qemu-0a61f3b4782d4dd431c8d6cca6d7fd48d68e1b59.zip | |
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 <jcmvbkbc@gmail.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
