(2.10) Some fixes in _GenerateKVMBlockDevicesOptions()
authorDimitris Aragiorgis <dimara@grnet.gr>
Thu, 10 Oct 2013 13:00:44 +0000 (16:00 +0300)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 07:56:59 +0000 (09:56 +0200)
commitdf07c18f5186c3018a45333accd58b5f70a1e581
tree6754e652c99b5d8082f3c066aa79aaff68d9b829
parent07809f7d66f4dfe1ddd1b4ef8e97415b00e68893
(2.10) Some fixes in _GenerateKVMBlockDevicesOptions()

* Add docstring.
* fix missed usecase of boot_disk=False if kernel_path is given.
* Use devlist arg in GenerateKVMBlockDeviceOptions()
  This is previously calculated in _ExecuteKVMRuntime()
  so there is no need to rerun the same command.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/hypervisor/hv_kvm.py