From b0e48bfdfe2416478db97491d3bcdfd1b585a1a0 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 7 Jul 2009 16:54:55 +0200 Subject: [PATCH] Avoid raising an internal error * src/qemu_conf.c: when connecting an interface if it reference an undefined network, then we used to raise an internal error. --- src/qemu_conf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qemu_conf.c b/src/qemu_conf.c index 9ca60b97bd..bbb4a3f3d6 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -716,9 +716,6 @@ qemudNetworkIfaceConnect(virConnectPtr conn, virNetworkPtr network = virNetworkLookupByName(conn, net->data.network.name); if (!network) { - qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, - _("Network '%s' not found"), - net->data.network.name); goto error; } brname = virNetworkGetBridgeName(network);