Received: from eggs.gnu.org ([2001:4830:134:3::10]:49537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnoIW-00056S-4f for qemu-devel@nongnu.org; Sat, 15 Jun 2013 07:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnoIV-0002sa-A6 for qemu-devel@nongnu.org; Sat, 15 Jun 2013 07:05:32 -0400 Message-ID: <51BC4A77.7020308@msgid.tls.msk.ru> Date: Sat, 15 Jun 2013 15:05:27 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1371292923-28105-1-git-send-email-mjt@msgid.tls.msk.ru> <12048990.5frBUX2jFf@al> In-Reply-To: <12048990.5frBUX2jFf@al> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH trivial] vl: always define no_frame List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Wu Cc: qemu-trivial@nongnu.org, Anthony Liguori , qemu-devel@nongnu.org 15.06.2013 14:51, Peter Wu wrote: > On Saturday 15 June 2013 14:42:03 Michael Tokarev wrote: > >> Commit 047d4e151dd46 "Unbreak -no-quit for GTK, validate SDL options" broke >> build of qemu without sdl, by referencing `no_frame' variable which is >> defined inside #if SDL block. Fix that by defining that variable >> unconditionally. > > Reviewed-by: Peter Wu Thanks! > As for the discussion about legacy options[1], are there plans to remove `-sdl` (replaced by `-display sdl`) and move the `-*-grab` and `-no-frame` to `-display sdl` options? If that is the idea, what about printing a message that the mentioned options are deprecated and removed in a future version? This is already done for sdl, see select_display() function in vl.c -- it handles -display sdl,frame={on|off},... It is unlikely the old options will be removed any time soon, and these will not likely print any warnings either -- this hasn't done for lots of other old options (-stdvga for example). Thanks, /mjt