[libvirt] [PATCH] Don't overwrite useful message when creating macvlan fails

Jiri Denemark jdenemar at redhat.com
Mon May 13 16:46:07 UTC 2013


On Mon, May 13, 2013 at 17:34:18 +0100, Daniel Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Currently we report a bogus error message when macvlan
> creation fails:
> 
> error: Failed to start domain migtest
> error: operation failed: Unable to create macvlan device
> 
> With this removed, we see the real error:
> 
> error: Failed to start domain migtest
> error: Unable to get index for interface p31p1: No such device
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/util/virnetdevmacvlan.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list