rtoss - Diff between revs 77 and 79

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 77 Rev 79
Line 675... Line 675...
675     if (tap_win32_open(&s->handle, ifname) < 0) { 675     if (tap_win32_open(&s->handle, ifname) < 0) {
676         printf("tap: Could not open '%s'\n", ifname); 676         printf("tap: Could not open '%s'\n", ifname);
677         return -1; 677         return -1;
678     } 678     }
679 679
680     s->vc = qemu_new_vlan_client(vlan, NULL, model, name, -  
-   680     s->vc = qemu_new_vlan_client(NET_CLIENT_TYPE_TAP,
-   681                                  vlan, NULL, model, name,
681                                  NULL, tap_receive, 682                                  NULL, tap_receive,
682                                  NULL, tap_cleanup, s); -  
-   683                                  NULL, NULL, tap_cleanup, s);
683 684
684     snprintf(s->vc->info_str, sizeof(s->vc->info_str), 685     snprintf(s->vc->info_str, sizeof(s->vc->info_str),
685              "tap: ifname=%s", ifname); 686              "tap: ifname=%s", ifname);
686 687
687     qemu_add_wait_object(s->handle->tap_semaphore, tap_win32_send, s); 688     qemu_add_wait_object(s->handle->tap_semaphore, tap_win32_send, s);