* [PATCH] kvm: qemu: fix qemu_send_packet
@ 2009-01-16 10:19 Mark McLoughlin
2009-01-18 12:11 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Mark McLoughlin @ 2009-01-16 10:19 UTC (permalink / raw)
To: avi; +Cc: kvm, Mark McLoughlin
KVM's qemu_send_packet() has a return value, qemu's doesn't.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: qemu: fix qemu_send_packet
2009-01-16 10:19 [PATCH] kvm: qemu: fix qemu_send_packet Mark McLoughlin
@ 2009-01-18 12:11 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-01-18 12:11 UTC (permalink / raw)
To: Mark McLoughlin; +Cc: kvm
Mark McLoughlin wrote:
> KVM's qemu_send_packet() has a return value, qemu's doesn't.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-18 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 10:19 [PATCH] kvm: qemu: fix qemu_send_packet Mark McLoughlin
2009-01-18 12:11 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox