On Sat, 14 Oct 2023, Michael Tokarev wrote:
Can't we make -drive if=none the default?

Yes, I know current default is ide, and whole world have to use if=none explicitly to undo this. I think at this point we can deprecate if=ide default and switch to
if=none in the next release.  I think it will be a welcome change.

I don't think that would be welcome by all people now using -drive media=disk,format-raw,file= shortcut (which they were forced to use instead of the previous -hda shortcut just to specify format=raw) and now they would need to change that to -drive lot,of,options,here -device ide-hd,drive=[what was it called and which drive is that?] instead. That's a lot more typing and much less convenient so please keep the convenience option at least somewhat convenient for command line users.

Also machine class has a member (possibly) set by board code: mc->block_default_type = IF_IDE; Isn't that the default used if no "if" property given?

Maybe I don't understand how this works but if it makes less convenient for users and breaks their scripts then I don't think it's a good idea.

Regards,
BALATON Zoltan

Reply via email to