diff --git a/AUTHORS b/AUTHORS index 6e0276e34c..0cc09ce68e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -172,6 +172,7 @@ Patches have also been contributed by: Supriya Kannery Dirk Herrendoerfer Taisuke Yamada + Heath Petersen [....send patches to get your name here....] diff --git a/src/uml/uml_conf.c b/src/uml/uml_conf.c index 4f1cb243d6..0122472c71 100644 --- a/src/uml/uml_conf.c +++ b/src/uml/uml_conf.c @@ -207,7 +207,10 @@ umlBuildCommandLineNet(virConnectPtr conn, case VIR_DOMAIN_NET_TYPE_ETHERNET: /* ethNNN=tuntap,tapname,macaddr,gateway */ - virBufferAddLit(&buf, "tuntap"); + virBufferAddLit(&buf, "tuntap,"); + if (def->ifname) { + virBufferAdd(&buf, def->ifname, -1); + } if (def->data.ethernet.ipaddr) { umlReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("IP address not supported for ethernet inteface"));