Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Avi Kivity
On 07/29/2009 06:50 PM, Glauber Costa wrote:While I do understand the value of backwards compatibility, we did change behaviour of a number of things in the past. Example: "qemu" would print a help message, and now it runs without any disks. It changed people's script already. There's a hu

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Glauber Costa
On Wed, Jul 29, 2009 at 04:43:11PM +0200, Jan Kiszka wrote: > Alexander Graf wrote: > > Avi Kivity wrote: > >> On 07/29/2009 01:17 PM, Jan Kiszka wrote: > >>> I just wonder now if/when qemu-kvm will switch over to the > >>> kvm-by-default-off policy of upstream? > >>> > >> That will surely inco

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Jan Kiszka
Alexander Graf wrote: > Avi Kivity wrote: >> On 07/29/2009 01:17 PM, Jan Kiszka wrote: >>> I just wonder now if/when qemu-kvm will switch over to the >>> kvm-by-default-off policy of upstream? >>> >> That will surely inconvenience/surprise a lot of users. >> >> A migration path could be: >> >>

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Avi Kivity
On 07/29/2009 03:28 PM, Alexander Graf wrote: Avi Kivity wrote: On 07/29/2009 01:17 PM, Jan Kiszka wrote: I just wonder now if/when qemu-kvm will switch over to the kvm-by-default-off policy of upstream? That will surely inconvenience/surprise a lot of users. A migration pa

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Alexander Graf
Avi Kivity wrote: > On 07/29/2009 01:17 PM, Jan Kiszka wrote: >> I just wonder now if/when qemu-kvm will switch over to the >> kvm-by-default-off policy of upstream? >> > > That will surely inconvenience/surprise a lot of users. > > A migration path could be: > > - add -accel > - start warning

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Avi Kivity
On 07/29/2009 01:17 PM, Jan Kiszka wrote: I just wonder now if/when qemu-kvm will switch over to the kvm-by-default-off policy of upstream? That will surely inconvenience/surprise a lot of users. A migration path could be: - add -accel - start warning when -accel is not used, encouraging

Re: [PATCH] exit if we fail to initialize kvm

2009-07-29 Thread Jan Kiszka
Alexander Graf wrote: > > On 28.07.2009, at 23:28, Glauber Costa wrote: > >> On Tue, Jul 28, 2009 at 11:15:19PM +0200, Alexander Graf wrote: >>> >>> On 28.07.2009, at 22:52, Glauber Costa wrote: >>> Falling back to tcg has proven to be evil through time. The option is to do not tr

Re: [PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Alexander Graf
On 28.07.2009, at 23:28, Glauber Costa wrote: On Tue, Jul 28, 2009 at 11:15:19PM +0200, Alexander Graf wrote: On 28.07.2009, at 22:52, Glauber Costa wrote: Falling back to tcg has proven to be evil through time. The option is to do not try to act behind user's back, and quit the program

Re: [PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Alexander Graf
On 28.07.2009, at 23:28, Glauber Costa wrote: On Tue, Jul 28, 2009 at 11:15:19PM +0200, Alexander Graf wrote: On 28.07.2009, at 22:52, Glauber Costa wrote: Falling back to tcg has proven to be evil through time. The option is to do not try to act behind user's back, and quit the progra

Re: [PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Glauber Costa
On Tue, Jul 28, 2009 at 11:15:19PM +0200, Alexander Graf wrote: > > On 28.07.2009, at 22:52, Glauber Costa wrote: > >> Falling back to tcg has proven to be evil through time. The option is >> to >> do not try to act behind user's back, and quit the program completely >> if >> we fail to initiali

Re: [PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Alexander Graf
On 28.07.2009, at 22:52, Glauber Costa wrote: Falling back to tcg has proven to be evil through time. The option is to do not try to act behind user's back, and quit the program completely if we fail to initialize kvm. Right now, the only way to run tcg from our tree becomes explicitly a

Re: [PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Alexander Graf
On 28.07.2009, at 22:52, Glauber Costa wrote: Falling back to tcg has proven to be evil through time. The option is to do not try to act behind user's back, and quit the program completely if we fail to initialize kvm. Right now, the only way to run tcg from our tree becomes explicitly a

[PATCH] exit if we fail to initialize kvm

2009-07-28 Thread Glauber Costa
Falling back to tcg has proven to be evil through time. The option is to do not try to act behind user's back, and quit the program completely if we fail to initialize kvm. Right now, the only way to run tcg from our tree becomes explicitly asking for it, with the -no-kvm option. But it will chang