]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Specify name of target interface with macvlan error
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Nov 2012 16:34:10 +0000 (16:34 +0000)
committerCole Robinson <crobinso@redhat.com>
Sun, 9 Dec 2012 21:53:39 +0000 (16:53 -0500)
When failing to create a macvlan interface, make sure the
error message contains the name of the host interface

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit e11daa2b602e69708d86ada8f7167bf68ee102cd)

src/util/virnetdevmacvlan.c

index 7208954be43e9d06c3d314a2b2e6442134b1064d..95b0a4e616ea7538fa08dda9b30a910a0c491dea 100644 (file)
@@ -176,8 +176,8 @@ virNetDevMacVLanCreate(const char *ifname,
 
         default:
             virReportSystemError(-err->error,
-                                 _("error creating %s type of interface"),
-                                 type);
+                                 _("error creating %s type of interface attach to %s"),
+                                 type, srcdev);
             goto cleanup;
         }
         break;