X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fissupported.c;h=3fb32e6f4fc38844aea1ca14de427db321b950ae;hb=a1484653fde78abf416d1dcda7cfc69d0d3b8073;hp=45b1c2454eab6bbd81278e17064e19af0ceca9cd;hpb=3564d8678a2134185e5e6e83083de027b359ca28;p=util-vserver.git diff --git a/lib/issupported.c b/lib/issupported.c index 45b1c24..3fb32e6 100644 --- a/lib/issupported.c +++ b/lib/issupported.c @@ -45,8 +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_PIVOT_ROOT : return ver >= 0x00020304; + case vcFEATURE_PIDSPACE : return ver >= 0x00020305; default : assert(false); }