(ext) Pass disk geometry in kvm command
authorDimitris Aragiorgis <dimara@grnet.gr>
Tue, 3 Dec 2013 09:32:21 +0000 (11:32 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 08:00:58 +0000 (10:00 +0200)
commit70dfdeeadf107f1bf00850181706068d89ca9d6f
tree4492ee220893b1041a0bf339f5e906f143f25894
parent18aa65d18ae3dee56b48181b75fb8afc19e7186e
(ext) Pass disk geometry in kvm command

Currently we allow this feature only for ext templates that
allow arbitrary params per disk. If both 'heads' and 'secs'
params are given then 'cyls' is calculated from the disk size.

TODO: export these params in IDISK_PARAMS since the can be
useful for every disk.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/hypervisor/hv_kvm.py