qemu/hw/net
Alexey Kardashevskiy e0ff466c86 spapr_llan: fix device reenabling
Normally, the "tap" device is polled by QEMU if a guest NIC can
receive packets. If a guest NIC is stopped during transfer (rmmod or
ifdown), it may still have packets in a queue which have to be send
to the guest before QEMU enables polling of a "tap" interface via
tap_update_fd_handler().

However the spapr_llan device was missing the qemu_flush_queued_packets()
call so the tap_send_completed() callback was never called and therefore
"tap" interface polling was not enabled ever.

The patch fixes this problem.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-05-06 17:22:48 +02:00
..
cadence_gem.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
dp8393x.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
e1000.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
e1000_regs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
eepro100.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
etraxfs_eth.c hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
lan9118.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
lance.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
Makefile.objs hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
mcf_fec.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
milkymist-minimac2.c qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
mipsnet.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
ne2000-isa.c ne2000-isa: QOM'ify 2013-04-29 08:27:48 -05:00
ne2000.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ne2000.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
opencores_eth.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
pcnet-pci.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pcnet.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pcnet.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
rtl8139.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
smc91c111.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
spapr_llan.c spapr_llan: fix device reenabling 2013-05-06 17:22:48 +02:00
stellaris_enet.c hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
vhost_net.c virtio: remove virtiobindings. 2013-04-24 11:50:20 -05:00
virtio-net.c virtio-net: count VIRTIO_NET_F_MAC when calculating config_len 2013-04-30 16:04:24 -05:00
vmware_utils.h hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
vmxnet3.c Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
vmxnet3.h Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
vmxnet_debug.h hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
vmxnet_rx_pkt.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
vmxnet_rx_pkt.h hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
vmxnet_tx_pkt.c include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
vmxnet_tx_pkt.h hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
xen_nic.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
xgmac.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
xilinx_axienet.c stream: Remove app argument hack 2013-04-16 10:04:23 +02:00
xilinx_ethlite.c hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00