mirror of https://gitee.com/openkylin/libvirt.git
Specify name of target interface with macvlan error
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>
This commit is contained in:
parent
7c5ba648f7
commit
e11daa2b60
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue