vz: nseclabels member is moved to virDomainChrSourceDef struct

This commit is contained in:
Mikhail Feoktistov 2017-06-29 06:17:36 -04:00 committed by Maxim Nestratov
parent 06db9ff037
commit e007e764e1

View File

@ -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."));