提交 c630b480 编写于 作者: M Maxim Nestratov 提交者: Michal Privoznik

parallels: don't prevent domain define if VIR_DOMAIN_NET_TYPE_BRIDGE

network adapter is used
上级 ed043768
...@@ -2251,7 +2251,8 @@ static int prlsdkCheckSerialUnsupportedParams(virDomainChrDefPtr chr) ...@@ -2251,7 +2251,8 @@ static int prlsdkCheckSerialUnsupportedParams(virDomainChrDefPtr chr)
static int prlsdkCheckNetUnsupportedParams(virDomainNetDefPtr net) static int prlsdkCheckNetUnsupportedParams(virDomainNetDefPtr net)
{ {
if (net->type != VIR_DOMAIN_NET_TYPE_NETWORK) { if (net->type != VIR_DOMAIN_NET_TYPE_NETWORK &&
net->type != VIR_DOMAIN_NET_TYPE_BRIDGE) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Specified network adapter type is not " _("Specified network adapter type is not "
"supported by Parallels Cloud Server.")); "supported by Parallels Cloud Server."));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册