mirror of https://gitee.com/openkylin/libvirt.git
vz: nseclabels member is moved to virDomainChrSourceDef struct
This commit is contained in:
parent
06db9ff037
commit
e007e764e1
|
@ -2894,7 +2894,7 @@ static int prlsdkCheckSerialUnsupportedParams(virDomainChrDefPtr chr)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (chr->nseclabels > 0) {
|
||||
if (chr->source->nseclabels > 0) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("Setting security labels is not "
|
||||
"supported by vz driver."));
|
||||
|
|
Loading…
Reference in New Issue