Revision 819f326b lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
1232 | 1232 |
boot_disk = False |
1233 | 1233 |
if needs_boot_flag and disk_type != constants.HT_DISK_IDE: |
1234 | 1234 |
boot_val = ",boot=on" |
1235 |
|
|
1236 |
# For ext we allow overriding disk_cache hypervisor params per disk |
|
1237 |
disk_cache = cfdev.params.get("cache", None) |
|
1238 |
if disk_cache: |
|
1239 |
cache_val = ",cache=%s" % disk_cache |
|
1235 | 1240 |
drive_val = "file=%s,format=raw%s%s%s" % \ |
1236 | 1241 |
(dev_path, if_val, boot_val, cache_val) |
1237 | 1242 |
|
Also available in: Unified diff