mirror of https://gitee.com/openkylin/libvirt.git
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>
|
||||
|
||||
Fix misc syntax check failures with OpenNebula driver
|
||||
|
|
|
@ -662,8 +662,8 @@ qemudNetworkIfaceConnect(virConnectPtr conn,
|
|||
}
|
||||
|
||||
snprintf(tapfdstr, sizeof(tapfdstr),
|
||||
"tap,fd=%d,script=,vlan=%d,ifname=%s",
|
||||
tapfd, vlan, net->ifname);
|
||||
"tap,fd=%d,vlan=%d",
|
||||
tapfd, vlan);
|
||||
|
||||
if (!(retval = strdup(tapfdstr)))
|
||||
goto no_memory;
|
||||
|
|
Loading…
Reference in New Issue