search for: vir_domain_net_type_last

Displaying 2 results from an estimated 2 matches for "vir_domain_net_type_last".

2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...: case VIR_DOMAIN_NET_TYPE_HOSTDEV: + virReportError(VIR_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' ?
...N_NET_TYPE_HOSTDEV: > + virReportError(VIR_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 > lx...