mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Avoid broken networking with new QEMU/KVM >= 86
This commit is contained in:
parent
ee8553e156
commit
2afc3bfd8b
@ -1,3 +1,9 @@
|
|||||||
|
Thu May 28 14:13:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
Avoid broken networking with new QEMU/KVM >= 86
|
||||||
|
* src/qemu_conf.c: Remove ifname= and script= args to QEMU
|
||||||
|
when passing a TAP device file handle.
|
||||||
|
|
||||||
Thu May 28 14:11:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Thu May 28 14:11:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Fix misc syntax check failures with OpenNebula driver
|
Fix misc syntax check failures with OpenNebula driver
|
||||||
|
@ -662,8 +662,8 @@ qemudNetworkIfaceConnect(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
snprintf(tapfdstr, sizeof(tapfdstr),
|
snprintf(tapfdstr, sizeof(tapfdstr),
|
||||||
"tap,fd=%d,script=,vlan=%d,ifname=%s",
|
"tap,fd=%d,vlan=%d",
|
||||||
tapfd, vlan, net->ifname);
|
tapfd, vlan);
|
||||||
|
|
||||||
if (!(retval = strdup(tapfdstr)))
|
if (!(retval = strdup(tapfdstr)))
|
||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
Loading…
Reference in New Issue
Block a user