From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brOOM-00056N-Bu for qemu-devel@nongnu.org; Tue, 04 Oct 2016 08:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brOOG-0001RU-Nr for qemu-devel@nongnu.org; Tue, 04 Oct 2016 08:00:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brOOG-0001Qs-Gp for qemu-devel@nongnu.org; Tue, 04 Oct 2016 08:00:08 -0400 Date: Tue, 4 Oct 2016 13:00:01 +0100 From: "Daniel P. Berrange" Message-ID: <20161004120001.GG5578@redhat.com> Reply-To: "Daniel P. Berrange" References: <1475580648-6470-1-git-send-email-lvivier@redhat.com> <1475580648-6470-2-git-send-email-lvivier@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1475580648-6470-2-git-send-email-lvivier@redhat.com> Subject: Re: [Qemu-devel] [PATCH 1/2] accel: allows to select the "best" accelerator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: Paolo Bonzini , Peter Maydell , Thomas Huth , Stefano Stabellini , "Michael S . Tsirkin" , qemu-devel@nongnu.org, Alex =?utf-8?Q?Benn=C3=A9e?= On Tue, Oct 04, 2016 at 01:30:47PM +0200, Laurent Vivier wrote: > By default, QEMU uses 'tcg' or the one provided with the "accel" > property. > > But sometime, user wants to use a real accelerator without knowing > if he really can, with, for instance accel=kvm:tcg. > In this case, and if the accelerator is not available we > have a noisy "XXX accelerator not found". IMHO it would be better to just remove that warning message and continue using existing accel=kvm:tcg syntax to specify the preference of which accelerators to use. Only emit "XXX accelerator not found", if there are not further accelerators listed. eg accel=kvm:tcg should not print a "KVM accelerator not found" warning when it falls back to tcg, but a accel=kvm would print a warning, since no fallback is given. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|