X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fissupported.c;h=3fb32e6f4fc38844aea1ca14de427db321b950ae;hb=c390488fa4eccc579046a06a3b08aa72e7458875;hp=5b811f7420f5e64433549d2b6623af75ea89fd1d;hpb=db1d60270cc6fc35290d165fcdf163a96562bb00;p=util-vserver.git diff --git a/lib/issupported.c b/lib/issupported.c index 5b811f7..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 >= 0x00020303 || ver >= 0x00020201; + case vcFEATURE_PIVOT_ROOT : return ver >= 0x00020304; + case vcFEATURE_PIDSPACE : return ver >= 0x00020305; default : assert(false); }