Project

General

Profile

Revision 848

suspend-rate and resume-rate should only be required when using suspension.

View differences:

configfile.py
293 293
     Option(name        = "suspend-rate",
294 294
            getter      = "suspend-rate",
295 295
            type        = OPTTYPE_FLOAT,
296
            required    = True,
296
            required    = False,
297
            required_if = [(("scheduling","suspension"),constants.SUSPENSION_SERIAL),
298
                           (("scheduling","suspension"),constants.SUSPENSION_ALL)],
297 299
            doc         = """
298 300
            Rate at which VMs are assumed to suspend (in MB of
299 301
            memory per second)                
......
302 304
     Option(name        = "resume-rate",
303 305
            getter      = "resume-rate",
304 306
            type        = OPTTYPE_FLOAT,
305
            required    = True,
307
            required    = False,
308
            required_if = [(("scheduling","suspension"),constants.SUSPENSION_SERIAL),
309
                           (("scheduling","suspension"),constants.SUSPENSION_ALL)],
306 310
            doc         = """
307 311
            Rate at which VMs are assumed to resume (in MB of
308 312
            memory per second)                

Also available in: Unified diff