Displaying 4 results from an estimated 4 matches for "virdomainnettypetostr".
2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...-395,8 +395,14 @@
case VIR_DOMAIN_NET_TYPE_INTERNAL:
case VIR_DOMAIN_NET_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...
2015 Mar 03
1
Re: QEMU interface type=ethernet
2015-03-02 23:41 GMT+03:00 Brian Rak <brak@gameservers.com>:
> In IRC, I was directed to this patch:
> https://www.redhat.com/archives/libvir-list/2015-February/msg01212.html ...
> which does exactly what I was looking for. It doesn't build cleanly in that
> state, but it's pretty trivial fix (needs actualType added to the function
> definition for
2018 Dec 05
0
Re: libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...case VIR_DOMAIN_NET_TYPE_INTERNAL:
> case VIR_DOMAIN_NET_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;
&...
2011 Apr 21
7
[PATCHv11 0/6] libvirt/qemu - persistent modification of devices
Here is v11. Fixed comments/bugs and updated against the latest libvirt.git.
Changes v10->v11:
- fixed comments on each patches
- fixed cgroup handling in patch 3.
- fixed MODIFY_CURRENT handling in patch 4.
most of diff comes from refactoring qemu/qemu_driver.c
--
conf/domain_conf.c | 40 ++
conf/domain_conf.h | 5
libvirt_private.syms | 3
qemu/qemu_driver.c | 727