qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1 of 2] [UPDATE] DisplayState interface change
Date: Thu, 20 Nov 2008 17:48:32 +0000	[thread overview]
Message-ID: <4925A2F0.6000103@eu.citrix.com> (raw)
In-Reply-To: <200811201737.00254.paul@codesourcery.com>

Paul Brook wrote:

> On Thursday 20 November 2008, Stefano Stabellini wrote:
>> Hi all,
>> this patch changes the DisplayState interface adding support for
>> multiple frontends at the same time (sdl and vnc) and implements most
>> of the benefit of the shared_buf patch without the added complexity.
> 
> Unless I'm misunderstanding something, isn't this all going to go horribly 
> wrong when we want to have multiple displays? You shouldn't be using 
> DisplayState at all, you should be attaching these things to QEMUConsole.
> 
> 

That was the main problem I had to solve, but I managed to make it work
correctly: everything is handled transparently by qemu_console_resize
and console_select in console.c.
If the backend is smart enought to share the buffer it does so checking
that it is the current active console first (look at
hw/vga.c:vga_draw_graphic, vga.c is the only "smart" backend at the moment).

You can test it passing "-sdl -vnc :1" as arguments to qemu.

  parent reply	other threads:[~2008-11-20 17:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 16:58 [Qemu-devel] [PATCH 1 of 2] [UPDATE] DisplayState interface change Stefano Stabellini
     [not found] ` <200811201737.00254.paul@codesourcery.com>
2008-11-20 17:48   ` Stefano Stabellini [this message]
     [not found]     ` <200811201823.22742.paul@codesourcery.com>
2008-11-20 18:36       ` Stefano Stabellini
     [not found]         ` <200811201839.24213.paul@codesourcery.com>
2008-11-20 19:02           ` Stefano Stabellini
     [not found]     ` <200811211040.44235.paul@codesourcery.com>
2008-11-21 11:31       ` Stefano Stabellini
2008-11-20 18:58 ` Anthony Liguori
     [not found]   ` <200811202246.18906.paul@codesourcery.com>
2008-11-20 23:06     ` Anthony Liguori
2008-11-20 23:07     ` Anthony Liguori
2008-11-20 23:16     ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4925A2F0.6000103@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).