Displaying 2 results from an estimated 2 matches for "virreportenumrangeerror".
2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...ERR_CONFIG_UNSUPPORTED,
+ _("Unsupported net type %s"),
+ virDomainNetTypeToString(ctrl->def->nets[i]->type));
+ goto cleanup;
+ case VIR_DOMAIN_NET_TYPE_LAST:
default:
- break;
+ virReportEnumRangeError(virDomainNetType,
ctrl->def->nets[i]->type);
+ goto cleanup;
}
}
Since version 4.1.0 which config need be used to configure macvlan for
lxc cointainers ?
2018 Dec 05
0
Re: libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
..._("Unsupported net type %s"),
> + virDomainNetTypeToString(ctrl->def->nets[i]->type));
> + goto cleanup;
> + case VIR_DOMAIN_NET_TYPE_LAST:
> default:
> - break;
> + virReportEnumRangeError(virDomainNetType,
> ctrl->def->nets[i]->type);
> + goto cleanup;
> }
> }
>
> Since version 4.1.0 which config need be used to configure macvlan for
> lxc cointainers ?
Sorry, this looks like my screw up in the code. I mis-interpreted what
thi...