]> xenbits.xensource.com Git - libvirt.git/commitdiff
vz: nseclabels member is moved to virDomainChrSourceDef struct
authorMikhail Feoktistov <mfeoktistov@virtuozzo.com>
Thu, 29 Jun 2017 10:17:36 +0000 (06:17 -0400)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Thu, 29 Jun 2017 13:55:39 +0000 (16:55 +0300)
src/vz/vz_sdk.c

index a62b31079576fcb0a153f348fc4b6a5b48d0ce5b..0aa1a305ddbe41e3ca92252d3f806a0667b69ad4 100644 (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."));