Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-27 Thread Eduardo Habkost
On Wed, Jun 27, 2018 at 10:39:29AM +0200, Paolo Bonzini wrote: > On 26/06/2018 18:06, Eduardo Habkost wrote: > >> On the other hand I see no benefit in changing a default that people are > >> obviously not using (since most people use KVM, not TCG). Distros will > >> keep shipping, and people will

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-27 Thread Paolo Bonzini
On 26/06/2018 18:43, Markus Armbruster wrote: >>> Not sure how serious you meant that, but I actually quite like the >>> idea :) >> Also, this mode could be enabled by default if stderr is a tty. > It could be enabled by default, period. I agree, summarizing the configuration to stderr on startup

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-27 Thread Paolo Bonzini
On 26/06/2018 18:06, Eduardo Habkost wrote: >> On the other hand I see no benefit in changing a default that people are >> obviously not using (since most people use KVM, not TCG). Distros will >> keep shipping, and people will keep using qemu-kvm even if we change the >> default. > > Not changing

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Markus Armbruster
Eduardo Habkost writes: > On Tue, Jun 26, 2018 at 09:50:04AM +0200, Cornelia Huck wrote: >> On Tue, 26 Jun 2018 06:40:56 +0200 >> Thomas Huth wrote: >> >> > On 25.06.2018 20:26, Paolo Bonzini wrote: >> > > On 25/06/2018 19:30, Eduardo Habkost wrote: >> > Attentive distros could even repl

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Daniel P . Berrangé
On Tue, Jun 26, 2018 at 01:06:23PM -0300, Eduardo Habkost wrote: > On Tue, Jun 26, 2018 at 03:05:33PM +0200, Paolo Bonzini wrote: > > On 26/06/2018 14:29, Eduardo Habkost wrote: > > > On Tue, Jun 26, 2018 at 07:57:18AM +0200, Paolo Bonzini wrote: > > >> On 25/06/2018 21:51, Eduardo Habkost wrote: >

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Eduardo Habkost
On Tue, Jun 26, 2018 at 03:05:33PM +0200, Paolo Bonzini wrote: > On 26/06/2018 14:29, Eduardo Habkost wrote: > > On Tue, Jun 26, 2018 at 07:57:18AM +0200, Paolo Bonzini wrote: > >> On 25/06/2018 21:51, Eduardo Habkost wrote: > >>> In either case, I'm not arguing (yet) for changing the default > >>>

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Paolo Bonzini
On 26/06/2018 14:29, Eduardo Habkost wrote: > On Tue, Jun 26, 2018 at 07:57:18AM +0200, Paolo Bonzini wrote: >> On 25/06/2018 21:51, Eduardo Habkost wrote: >>> In either case, I'm not arguing (yet) for changing the default >>> upstream. I'm just arguing for upstream QEMU to not make any >>> promis

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Eduardo Habkost
On Tue, Jun 26, 2018 at 09:50:04AM +0200, Cornelia Huck wrote: > On Tue, 26 Jun 2018 06:40:56 +0200 > Thomas Huth wrote: > > > On 25.06.2018 20:26, Paolo Bonzini wrote: > > > On 25/06/2018 19:30, Eduardo Habkost wrote: > > Attentive distros could even replace the wrapper script by a link.

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Eduardo Habkost
On Tue, Jun 26, 2018 at 07:57:18AM +0200, Paolo Bonzini wrote: > On 25/06/2018 21:51, Eduardo Habkost wrote: > > In either case, I'm not arguing (yet) for changing the default > > upstream. I'm just arguing for upstream QEMU to not make any > > promises about the default. > > It would be a guest

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-26 Thread Cornelia Huck
On Tue, 26 Jun 2018 06:40:56 +0200 Thomas Huth wrote: > On 25.06.2018 20:26, Paolo Bonzini wrote: > > On 25/06/2018 19:30, Eduardo Habkost wrote: > Attentive distros could even replace the wrapper script by a link. > >>> If they are okay with replacing the "KVM only" semantics with "KVM

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Paolo Bonzini
On 25/06/2018 21:51, Eduardo Habkost wrote: >> Before that we should ask what the benefit is in changing the default >> for qemu-system-*. Nobody is using it in practice to start QEMU with >> KVM enabled... > > How can you be sure? If qemu-system-* is installed with KVM > compiled in, libvirt wil

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Thomas Huth
On 25.06.2018 20:26, Paolo Bonzini wrote: > On 25/06/2018 19:30, Eduardo Habkost wrote: Attentive distros could even replace the wrapper script by a link. >>> If they are okay with replacing the "KVM only" semantics with "KVM or >>> TCG", which I think is generally worse. >> >> If we can't get

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Eduardo Habkost
On Mon, Jun 25, 2018 at 08:26:28PM +0200, Paolo Bonzini wrote: > On 25/06/2018 19:30, Eduardo Habkost wrote: > >>> Attentive distros could even replace the wrapper script by a link. > >> If they are okay with replacing the "KVM only" semantics with "KVM or > >> TCG", which I think is generally wors

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Paolo Bonzini
On 25/06/2018 19:30, Eduardo Habkost wrote: >>> Attentive distros could even replace the wrapper script by a link. >> If they are okay with replacing the "KVM only" semantics with "KVM or >> TCG", which I think is generally worse. > > If we can't get agreement on what's the right default for each >

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Eduardo Habkost
On Mon, Jun 25, 2018 at 12:28:34PM +0200, Paolo Bonzini wrote: > On 25/06/2018 08:50, Markus Armbruster wrote: > > Paolo Bonzini writes: > > > >> On 22/06/2018 21:35, Eduardo Habkost wrote: > > Why is this better than using KVM by default if it's available? > The answer is (as almost alw

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-25 Thread Paolo Bonzini
On 25/06/2018 08:50, Markus Armbruster wrote: > Paolo Bonzini writes: > >> On 22/06/2018 21:35, Eduardo Habkost wrote: > Why is this better than using KVM by default if it's available? The answer is (as almost always): Compatibility with migration. Nobody dares to sacrifice that chi

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-24 Thread Markus Armbruster
Paolo Bonzini writes: > On 22/06/2018 21:35, Eduardo Habkost wrote: Why is this better than using KVM by default if it's available? >>> The answer is (as almost always): Compatibility with migration. Nobody >>> dares to sacrifice that chicken :-( >> We can now kill it if we announce the feat

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-22 Thread Paolo Bonzini
On 22/06/2018 21:35, Eduardo Habkost wrote: >>> Why is this better than using KVM by default if it's available? >> The answer is (as almost always): Compatibility with migration. Nobody >> dares to sacrifice that chicken :-( > We can now kill it if we announce the feature as deprecated a > couple o

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-22 Thread Eduardo Habkost
On Fri, Jun 22, 2018 at 09:19:56PM +0200, Thomas Huth wrote: > On 22.06.2018 20:11, Eduardo Habkost wrote: > > On Tue, Jun 19, 2018 at 06:16:33PM +0200, Paolo Bonzini wrote: > >> On 19/06/2018 17:15, Cornelia Huck wrote: > Why does a user have to know how to enable KVM? Oh, because our defaul

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-22 Thread Thomas Huth
On 22.06.2018 20:11, Eduardo Habkost wrote: > On Tue, Jun 19, 2018 at 06:16:33PM +0200, Paolo Bonzini wrote: >> On 19/06/2018 17:15, Cornelia Huck wrote: Why does a user have to know how to enable KVM? Oh, because our default is "run this guest much slower than necessary". Great! >>> Sh

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-22 Thread Eduardo Habkost
On Tue, Jun 19, 2018 at 06:16:33PM +0200, Paolo Bonzini wrote: > On 19/06/2018 17:15, Cornelia Huck wrote: > >> Why does a user have to know how to enable KVM? Oh, because our default > >> is "run this guest much slower than necessary". Great! > > Should we try again to default to a better accele

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-19 Thread Paolo Bonzini
On 19/06/2018 17:15, Cornelia Huck wrote: >> Why does a user have to know how to enable KVM? Oh, because our default >> is "run this guest much slower than necessary". Great! > Should we try again to default to a better accelerator, if possible? I > don't quite recall why we didn't do so the last

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-19 Thread Cornelia Huck
On Wed, 13 Jun 2018 18:02:27 +0200 Markus Armbruster wrote: > Daniel P. Berrangé writes: > > If I'm a user looking for how to enable KVM, then -enable-kvm is the > > one I'll pick because of the obvious name. > > Why does a user have to know how to enable KVM? Oh, because our default > is "

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Wed, Jun 13, 2018 at 05:11:51PM +0200, Thomas Huth wrote: >> On 13.06.2018 15:44, Daniel P. Berrangé wrote: >> > On Wed, Jun 13, 2018 at 02:38:40PM +0100, Stefan Hajnoczi wrote: >> >> On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote: >> >>> We've got thr

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Thomas Huth
On 13.06.2018 17:19, Daniel P. Berrangé wrote: > On Wed, Jun 13, 2018 at 05:11:51PM +0200, Thomas Huth wrote: >> On 13.06.2018 15:44, Daniel P. Berrangé wrote: >>> On Wed, Jun 13, 2018 at 02:38:40PM +0100, Stefan Hajnoczi wrote: On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote:

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Daniel P . Berrangé
On Wed, Jun 13, 2018 at 05:11:51PM +0200, Thomas Huth wrote: > On 13.06.2018 15:44, Daniel P. Berrangé wrote: > > On Wed, Jun 13, 2018 at 02:38:40PM +0100, Stefan Hajnoczi wrote: > >> On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote: > >>> We've got three ways of enabling an accelerator:

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Thomas Huth
On 13.06.2018 15:44, Daniel P. Berrangé wrote: > On Wed, Jun 13, 2018 at 02:38:40PM +0100, Stefan Hajnoczi wrote: >> On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote: >>> We've got three ways of enabling an accelerator: -machine accel=xyz, >>> -accel xyz and -enable-xyz. For new QEMU use

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Daniel P . Berrangé
On Wed, Jun 13, 2018 at 02:38:40PM +0100, Stefan Hajnoczi wrote: > On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote: > > We've got three ways of enabling an accelerator: -machine accel=xyz, > > -accel xyz and -enable-xyz. For new QEMU users, this must be very > > confusing ("Which one do

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Stefan Hajnoczi
On Wed, Jun 13, 2018 at 07:05:21AM +0200, Thomas Huth wrote: > We've got three ways of enabling an accelerator: -machine accel=xyz, > -accel xyz and -enable-xyz. For new QEMU users, this must be very > confusing ("Which one do I have to use? Is there a difference between > the options?"). While -en

Re: [Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-13 Thread Paolo Bonzini
On 13/06/2018 07:05, Thomas Huth wrote: > We've got three ways of enabling an accelerator: -machine accel=xyz, > -accel xyz and -enable-xyz. For new QEMU users, this must be very > confusing ("Which one do I have to use? Is there a difference between > the options?"). While -enable-kvm was useful i

[Qemu-devel] [RFC PATCH 4/4] qemu-options: Do not show -enable-kvm and -enable-hax in the docs anymore

2018-06-12 Thread Thomas Huth
We've got three ways of enabling an accelerator: -machine accel=xyz, -accel xyz and -enable-xyz. For new QEMU users, this must be very confusing ("Which one do I have to use? Is there a difference between the options?"). While -enable-kvm was useful in the past, there is no real good reason for usi