From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kjycb-0004XL-Nm for qemu-devel@nongnu.org; Sun, 28 Sep 2008 11:55:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kjyca-0004TZ-98 for qemu-devel@nongnu.org; Sun, 28 Sep 2008 11:55:45 -0400 Received: from [199.232.76.173] (port=37541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjycZ-0004TJ-WB for qemu-devel@nongnu.org; Sun, 28 Sep 2008 11:55:44 -0400 Received: from rv-out-0708.google.com ([209.85.198.241]:35528) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjycZ-0002qp-ND for qemu-devel@nongnu.org; Sun, 28 Sep 2008 11:55:43 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1510251rvb.22 for ; Sun, 28 Sep 2008 08:55:42 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 18:55:42 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [5335] Change the way video graphics adapter is selected In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 On 9/28/08, andrzej zaborowski wrote: > 2008/9/28 Blue Swirl : > > > 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 > > > My thinking was that the next improvement to the -xxxvga syntax should > be to allow multiple graphics cards to be inserted. An interesting > question is whether a bus hierarchy oriented syntax instead of > functionality otiented would be better, for example -pcihw > slot=N,model=vga (perhaps not). That would work too, but there are more buses than just PCI. Even the old Sparcstations with SBus supported more than one display device. And for that you would have to specify how the devices and windows (SDL etc.) are connected. Then the syntax would become: -displayhw model=vga,type=std,screen=0 -displayhw model=vga,type=cirrus,screen=1 or, if you follow the logic in this commit: -vga std,0 -vga cirrus,1