mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
parallels: don't prevent domain define if VIR_DOMAIN_NET_TYPE_BRIDGE
network adapter is used
This commit is contained in:
parent
ed043768a3
commit
c630b48006
@ -2251,7 +2251,8 @@ static int prlsdkCheckSerialUnsupportedParams(virDomainChrDefPtr chr)
|
||||
|
||||
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",
|
||||
_("Specified network adapter type is not "
|
||||
"supported by Parallels Cloud Server."));
|
||||
|
Loading…
Reference in New Issue
Block a user