Avoid broken networking with new QEMU/KVM >= 86

This commit is contained in:
Daniel P. Berrange 2009-05-28 13:15:57 +00:00
parent ee8553e156
commit 2afc3bfd8b
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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;