Skip to contentSkip to conversation

qemu vl.c

Qemu-devel Thiemo Seufer 3 participants 4 messages Oct 21, 2007 – Oct 26, 2007

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · Thiemo Seufer

CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/10/21 23:20:46

Quoted 8 lines

Modified files:
. : vl.c

Log message:
Support tap down script, by Wolfram Gloger.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.349&r2=1.350

Hi Thiemo,

on Windows, vl.c raises a compilation error. This patch fixes it.

Stefan

Index: vl.c
===================================================================
RCS file: /sources/qemu/qemu/vl.c,v
retrieving revision 1.350

vl.c +4 -3
diff -u -b -B -r1.350 vl.c
@@ -8478,12 +8478,12 @@
     main_loop();
     quit_timers();
 
+#if !defined(_WIN32)
     /* close network clients */
     for(vlan = first_vlan; vlan != NULL; vlan = vlan->next) {
         VLANClientState *vc;
 
-        for(vc = vlan->first_client; vc != NULL; vc = vc->next)
-#if !defined(_WIN32)
+        for(vc = vlan->first_client; vc != NULL; vc = vc->next) {
             if (vc->fd_read == tap_receive) {
                 char ifname[64];
                 TAPState *s = vc->opaque;
@@ -8492,7 +8492,8 @@
                     s->down_script[0])
                     launch_script(s->down_script, ifname, s->fd);
             }
-#endif
     }
+    }
+#endif
     return 0;
 }
#2 lore raw

Hi,

Quoted 8 lines · Stefan Weil
Quoted 7 lines · Thiemo Seufer

CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/10/21 23:20:46

Modified files:
. : vl.c

Quoted 8 lines
Quoted 5 lines

Log message:
Support tap down script, by Wolfram Gloger.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.349&r2=1.350

Hi Thiemo,

on Windows, vl.c raises a compilation error. This patch fixes it.

Which is identical to the patch that I linked to in my earlier mail, so now you have two people saying that this patch is correct.

Ciao,
Dscho

#3 lore raw
Quoted 15 lines · Johannes Schindelin

Hi,

Quoted 11 lines · Stefan Weil
Quoted 10 lines · Thiemo Seufer

CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/10/21 23:20:46

Modified files:
. : vl.c

Log message:
Support tap down script, by Wolfram Gloger.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.349&r2=1.350

Hi Thiemo,

on Windows, vl.c raises a compilation error. This patch fixes it.

Which is identical to the patch that I linked to in my earlier mail, so now you have two people saying that this patch is correct.

It was more a matter of having time at all...

Thanks to both of you,
Thiemo