Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vasum::ZoneConfig Struct Reference

#include <zone-config.hpp>

Public Attributes

std::string zoneTemplate
 Zone template name (relative to zoneTemplateDir) More...
 
std::vector< std::string > initWithArgs
 Init program with args (empty means default /sbin/init) More...
 
int privilege
 Privilege of the zone. More...
 
bool switchToDefaultAfterTimeout
 Allow switching to default zone after timeout. More...
 
std::int64_t cpuQuotaForeground
 Zone's CFS quota in us when it's in the foreground. More...
 
std::int64_t cpuQuotaBackground
 Zone's CFS quota in us when it's in the background. More...
 
std::vector< std::string > validLinkPrefixes
 Valid hard link prefixes. More...
 
int shutdownTimeout
 Timeout in seconds for zone to gracefully shut down. More...
 

Member Data Documentation

std::int64_t vasum::ZoneConfig::cpuQuotaBackground

Zone's CFS quota in us when it's in the background.

std::int64_t vasum::ZoneConfig::cpuQuotaForeground

Zone's CFS quota in us when it's in the foreground.

std::vector<std::string> vasum::ZoneConfig::initWithArgs

Init program with args (empty means default /sbin/init)

int vasum::ZoneConfig::privilege

Privilege of the zone.

The smaller the value the more important the zone

int vasum::ZoneConfig::shutdownTimeout

Timeout in seconds for zone to gracefully shut down.

After given time, if Zone is not off, forced shutdown occurs.

To wait forever, set -1 timeout. To skip waiting, set 0 timeout.

bool vasum::ZoneConfig::switchToDefaultAfterTimeout

Allow switching to default zone after timeout.

Setting this to false will disable switching to default zone after timeout.

std::vector<std::string> vasum::ZoneConfig::validLinkPrefixes

Valid hard link prefixes.

std::string vasum::ZoneConfig::zoneTemplate

Zone template name (relative to zoneTemplateDir)


The documentation for this struct was generated from the following file: