diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-08 19:58:30 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-15 09:32:02 -0500 |
commit | 283c7c63f5c56c4d0340fb39093fb47e75cb122e (patch) | |
tree | c07299f36322356dac05fb41d3059e614e0073a2 /tap-win32.c | |
parent | 5869c4d515128cd3a938a7346a8037abcc232220 (diff) | |
download | qemu-283c7c63f5c56c4d0340fb39093fb47e75cb122e.zip qemu-283c7c63f5c56c4d0340fb39093fb47e75cb122e.tar.gz qemu-283c7c63f5c56c4d0340fb39093fb47e75cb122e.tar.bz2 |
net: allow NICs to be connected to netdevs
Introduce a 'peer' member to VLANClientState as an alternative
to a vlan. The idea being that packets are transfered directly
from peer clients rather than going through a vlan.
Patchworks-ID: 35516
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tap-win32.c')
-rw-r--r-- | tap-win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tap-win32.c b/tap-win32.c index 2c02ce3..e4fdde8 100644 --- a/tap-win32.c +++ b/tap-win32.c @@ -677,7 +677,8 @@ int tap_win32_init(VLANState *vlan, const char *model, return -1; } - s->vc = qemu_new_vlan_client(vlan, model, name, NULL, tap_receive, + s->vc = qemu_new_vlan_client(vlan, NULL, model, name, + NULL, tap_receive, NULL, tap_cleanup, s); snprintf(s->vc->info_str, sizeof(s->vc->info_str), |