18 lines
745 B
Diff
18 lines
745 B
Diff
diff -rup libvirt-0.2.2/qemud/conf.c libvirt-0.2.2.new/qemud/conf.c
|
|
--- libvirt-0.2.2/qemud/conf.c 2007-05-14 10:38:52.000000000 -0400
|
|
+++ libvirt-0.2.2.new/qemud/conf.c 2007-05-14 10:38:34.000000000 -0400
|
|
@@ -1151,6 +1151,12 @@ qemudNetworkIfaceConnect(struct qemud_se
|
|
goto error;
|
|
}
|
|
|
|
+ if (!server->brctl && (err = brInit(&server->brctl))) {
|
|
+ qemudReportError(server, VIR_ERR_INTERNAL_ERROR,
|
|
+ "cannot initialize bridge support: %s", strerror(err));
|
|
+ goto error;
|
|
+ }
|
|
+
|
|
if ((err = brAddTap(server->brctl, brname,
|
|
ifname, BR_IFNAME_MAXLEN, &tapfd))) {
|
|
qemudReportError(server, VIR_ERR_INTERNAL_ERROR,
|
|
Only in libvirt-0.2.2.new/qemud: conf.c.orig
|