From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjxVB-0002qq-ES for qemu-devel@nongnu.org; Sun, 28 Sep 2008 10:44:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjxV9-0002pw-Gd for qemu-devel@nongnu.org; Sun, 28 Sep 2008 10:44:00 -0400 Received: from [199.232.76.173] (port=58259 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjxV9-0002pq-6o for qemu-devel@nongnu.org; Sun, 28 Sep 2008 10:43:59 -0400 Received: from rn-out-0910.google.com ([64.233.170.185]:26121) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjxV8-0002Z9-Tj for qemu-devel@nongnu.org; Sun, 28 Sep 2008 10:43:59 -0400 Received: by rn-out-0910.google.com with SMTP id m61so1314244rnd.8 for ; Sun, 28 Sep 2008 07:43:58 -0700 (PDT) Message-ID: <48DF97F0.4010802@codemonkey.ws> Date: Sun, 28 Sep 2008 09:42:56 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [5335] Change the way video graphics adapter is selected References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Blue Swirl wrote: > On 9/28/08, malc wrote: > >> Revision: 5335 >> http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5335 >> Author: malc >> Date: 2008-09-28 00:42:05 +0000 (Sun, 28 Sep 2008) >> >> Log Message: >> ----------- >> Change the way video graphics adapter is selected >> >> Instead of having (current)three command line switches -std-vga, >> -cirrusvga and -vmwarevga, provide one -vga switch which takes >> an argument, so that: >> qemu -std-vga becomes qemu -vga std >> qemu -cirrusvga becomes qemu -vga cirrus >> qemu -vmwarevga becomes qemu -vga vmware >> > > I'd prefer a more generic syntax, like -drive options: > -displayhw model=vga,type=std > -displayhw model=vga,type=std > -displayhw model=vga,type=std > -displayhw model=tcx,type=hardwarecursor > I think this would quickly rat hole since it requires rewriting a huge amount of code. > Then this option would be useful for non-VGA targets. I don't see -vga > xxx as an improvement over -xxx-vga. > If the next steps are creating a mechanism to register VGA hw emulation, then I think this is a step in the right direction. I think we have to get to a place where most hardware devices are registered within a generic frame work before we start trying to expose that to the user. Regards, Anthony Liguori > Also, there should be compatibility support for previous syntax, like > -cdrom or -hda implies some -drive options. > > >