X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fissupported.c;h=3fb32e6f4fc38844aea1ca14de427db321b950ae;hb=c390488fa4eccc579046a06a3b08aa72e7458875;hp=fb95fab21a8df4e6a8f72cb1badb3281c188e8d1;hpb=38db7c63850871d51a423c53d4ceb3a2f6ef0819;p=util-vserver.git diff --git a/lib/issupported.c b/lib/issupported.c index fb95fab..3fb32e6 100644 --- a/lib/issupported.c +++ b/lib/issupported.c @@ -45,9 +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_PIDSPACE : return ver >= 0x00020303 || ver >= 0x00020201; + case vcFEATURE_SPACES : return conf & VC_VCI_SPACES; + case vcFEATURE_PIVOT_ROOT : return ver >= 0x00020304; + case vcFEATURE_PIDSPACE : return ver >= 0x00020305; default : assert(false); }