[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -drive if=none: can't we make this the default?
|
From: |
Kevin Wolf |
|
Subject: |
Re: -drive if=none: can't we make this the default? |
|
Date: |
Tue, 31 Oct 2023 19:56:29 +0100 |
Am 14.10.2023 um 21:59 hat BALATON Zoltan geschrieben:
> 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)
Nobody forces you to give up -hda. You get the warning at startup for
raw files just so that you're not surprised if your guest gets I/O
errors for writing a qcow2 header into its boot sector, but I don't
think your guest is very likely to do this.
(But if you do use -drive, media=disk is the default, so you don't need
to specify it explicitly.)
Kevin