X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fissupported.c;h=3fb32e6f4fc38844aea1ca14de427db321b950ae;hb=a1484653fde78abf416d1dcda7cfc69d0d3b8073;hp=2f2510b7bf34e76b423dc3d7f3a491e99632e453;hpb=a34662b4b09a935280a3326c600e854ad555ccba;p=util-vserver.git diff --git a/lib/issupported.c b/lib/issupported.c index 2f2510b..3fb32e6 100644 --- a/lib/issupported.c +++ b/lib/issupported.c @@ -45,10 +45,12 @@ vc_isSupported(vcFeatureSet feature) case vcFEATURE_VWAIT : return ver >= 0x00010025; case vcFEATURE_SCHED : return ver >= 0x00020000; // todo case vcFEATURE_VNET : return ver >= 0x00020001; + case vcFEATURE_PERSISTENT : return ver >= 0x00020002; case vcFEATURE_VSTAT : return ver >= 0x00020103; case vcFEATURE_PPTAG : return conf & VC_VCI_PPTAG; case vcFEATURE_SPACES : return conf & VC_VCI_SPACES; - case vcFEATURE_PIDSPACE : return ver >= 0x00020304 || ver >= 0x00020201; + case vcFEATURE_PIVOT_ROOT : return ver >= 0x00020304; + case vcFEATURE_PIDSPACE : return ver >= 0x00020305; default : assert(false); }