KVM's qemu_send_packet() has a return value, qemu's doesn't.
Signed-off-by: Mark McLoughlin <[email protected]>
---
qemu/net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu/net.c b/qemu/net.c
index f9b239f..9841197 100644
--- a/qemu/net.c
+++ b/qemu/net.c
@@ -391,7 +391,7 @@ int qemu_send_packet(VLANClientState *vc1, const uint8_t
*buf, int size)
int ret = -EAGAIN;
if (vc1->link_down)
- return;
+ return 0;
#ifdef DEBUG_NET
printf("vlan %d send:\n", vlan->id);
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html