qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5335] Change the way video graphics adapter is selecte


From: Blue Swirl
Subject: Re: [Qemu-devel] [5335] Change the way video graphics adapter is selected
Date: Sun, 28 Sep 2008 18:55:42 +0300

On 9/28/08, andrzej zaborowski <address@hidden> wrote:
> 2008/9/28 Blue Swirl <address@hidden>:
>
> > On 9/28/08, malc <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]