[pve-devel] [PATCH] parse_drive : set default format=raw if !cdrom or no file extension

Dietmar Maurer dietmar at proxmox.com
Wed Jun 10 08:07:57 CEST 2015


> >>Wouldn't it be better to do it inside print_drive_full? 
> 
> Well,
> print_drive_full already take format option from @qemu_drive_options

Yes, but this way you always modify the user config (after an
read/modify/write). 
I would prefer to not touch the config.

If you do not mind, I will try to move it to print_drive_full().




More information about the pve-devel mailing list