Revision 47387b1e
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
366 | 366 |
@raise errors.HypervisorError: when a parameter is not valid |
367 | 367 |
|
368 | 368 |
""" |
369 |
super(KvmHypervisor, cls).CheckParameterSyntax(hvparams)
|
|
369 |
super(KVMHypervisor, cls).CheckParameterSyntax(hvparams)
|
|
370 | 370 |
|
371 | 371 |
if not hvparams[constants.HV_KERNEL_PATH]: |
372 | 372 |
raise errors.HypervisorError("Need a kernel for the instance") |
... | ... | |
386 | 386 |
kernel. |
387 | 387 |
|
388 | 388 |
""" |
389 |
super(KvmHypervisor, self).ValidateParameters(hvparams)
|
|
389 |
super(KVMHypervisor, self).ValidateParameters(hvparams)
|
|
390 | 390 |
|
391 | 391 |
kernel_path = hvparams[constants.HV_KERNEL_PATH] |
392 | 392 |
if not os.path.isfile(kernel_path): |
Also available in: Unified diff