提交 2afc3bfd 编写于 作者: D Daniel P. Berrange

Avoid broken networking with new QEMU/KVM >= 86

上级 ee8553e1
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册