Revision 32b516cd

b/lib/hypervisor/hv_kvm.py
1278 1278
        boot_disk = False
1279 1279
        if needs_boot_flag and disk_type != constants.HT_DISK_IDE:
1280 1280
          boot_val = ",boot=on"
1281

  
1282
      # For ext we allow overriding disk_cache hypervisor params per disk
1283
      disk_cache = cfdev.params.get("cache", None)
1284
      if disk_cache:
1285
        cache_val = ",cache=%s" % disk_cache
1281 1286
      drive_val = "file=%s,format=raw%s%s%s" % \
1282 1287
                  (link_name, if_val, boot_val, cache_val)
1283 1288

  

Also available in: Unified diff