summaryrefslogtreecommitdiffstats
path: root/hw/block
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-07-28 17:52:56 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-07-28 11:35:54 +0100
commit7bba83bf80eae9c9e323319ff40d0ca477b0a77a (patch)
treecf00d634e7b4c073e1fb791a5112fbc57fd05a5e /hw/block
parentff1d2ac949dc94d8a0e71fd46939fb69c2ef075b (diff)
downloadhqemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.zip
hqemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.tar.gz
xen: Drop net_rx_ok
Let net_rx_packet() (which checks the same conditions) drops the packet if the device is not ready. Drop net_xen_info.can_receive and update the return value for the buffer full case. We rely on the qemu_flush_queued_packets() in net_event() to wake up the peer when the buffer becomes available again. Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1438077176-378-1-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud