summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
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 /scripts/qapi-commands.py
parentff1d2ac949dc94d8a0e71fd46939fb69c2ef075b (diff)
downloadfocaccia-qemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.tar.gz
focaccia-qemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.zip
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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions