Re: -drive if=none: can't we make this the default?

2023-11-02 Thread Kevin Wolf
Am 02.11.2023 um 12:01 hat Peter Maydell geschrieben: > On Thu, 2 Nov 2023 at 10:43, Kevin Wolf wrote: > > > > Am 01.11.2023 um 12:21 hat Peter Maydell geschrieben: > > > On Tue, 31 Oct 2023 at 18:45, Kevin Wolf wrote: > > > > Am 16.10.2023 um 13:58 hat Michael Tokarev geschrieben: > > > > >

Re: -drive if=none: can't we make this the default?

2023-11-02 Thread Michael Tokarev
02.11.2023 17:06, Kevin Wolf: Am 02.11.2023 um 12:01 hat Peter Maydell geschrieben: Whoops, have I got the terminology wrong again? To me these are "snapshots" (they do store the whole VM state including the current state of the disk, and "qemu-img info" lists them as "snapshots"), whereas I

Re: -drive if=none: can't we make this the default?

2023-11-02 Thread Peter Maydell
On Thu, 2 Nov 2023 at 10:43, Kevin Wolf wrote: > > Am 01.11.2023 um 12:21 hat Peter Maydell geschrieben: > > On Tue, 31 Oct 2023 at 18:45, Kevin Wolf wrote: > > > Am 16.10.2023 um 13:58 hat Michael Tokarev geschrieben: > > > > Almost everyone mentions -blockdev as a replacement for -drive. > > >

Re: -drive if=none: can't we make this the default?

2023-11-02 Thread Kevin Wolf
Am 01.11.2023 um 12:21 hat Peter Maydell geschrieben: > On Tue, 31 Oct 2023 at 18:45, Kevin Wolf wrote: > > Am 16.10.2023 um 13:58 hat Michael Tokarev geschrieben: > > > Almost everyone mentions -blockdev as a replacement for -drive. > > > > More specifically for -drive if=none. I honestly don't

Re: -drive if=none: can't we make this the default?

2023-11-02 Thread Markus Armbruster
Peter Maydell writes: [...] > Also, you can't arbitrarily change the command-line compat > requirements because of how you've chosen to (re-)implement an > option. That doesn't mean the current syntax is set in stone, but > I'm pretty sure the command line isn't at the HMP "we can change > it

Re: -drive if=none: can't we make this the default?

2023-11-01 Thread Peter Maydell
On Tue, 31 Oct 2023 at 18:45, Kevin Wolf wrote: > Am 16.10.2023 um 13:58 hat Michael Tokarev geschrieben: > > Almost everyone mentions -blockdev as a replacement for -drive. > > More specifically for -drive if=none. I honestly don't know many common > use cases for that one. One use case for it

Re: -drive if=none: can't we make this the default?

2023-10-31 Thread Kevin Wolf
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 th

Re: -drive if=none: can't we make this the default?

2023-10-31 Thread Kevin Wolf
Hi Michael, I didn't see this thread when you posted it, sorry for being a bit late. Am 16.10.2023 um 13:58 hat Michael Tokarev geschrieben: > Almost everyone mentions -blockdev as a replacement for -drive. More specifically for -drive if=none. I honestly don't know many common use cases for

Re: -drive if=none: can't we make this the default?

2023-10-16 Thread Michael Tokarev
Almost everyone mentions -blockdev as a replacement for -drive. But I have to remind several issues with it: 1. While documentation has improved a lot, -blockdev is still mostly unknown to the masses. 2. -blockdev is just too verbose, one have to specify a lot of parameters just to do a

Re: -drive if=none: can't we make this the default?

2023-10-16 Thread Paolo Bonzini
On 10/14/23 21:16, 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

Re: -drive if=none: can't we make this the default?

2023-10-16 Thread Daniel P . Berrangé
On Sat, Oct 14, 2023 at 10:16:16PM +0300, 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 > s

Re: -drive if=none: can't we make this the default?

2023-10-14 Thread BALATON Zoltan
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

-drive if=none: can't we make this the default?

2023-10-14 Thread Michael Tokarev
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. /mjt