qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH 0 of 7] [UPDATE] DisplayState interface change
Date: Fri, 28 Nov 2008 00:29:56 +0000	[thread overview]
Message-ID: <200811280029.57082.paul@codesourcery.com> (raw)
In-Reply-To: <492F3074.6060200@codemonkey.ws>

> >>> - do not use is_active_console, use is_graphic_console instead.
> >>
> >> This is wrong. There may be multiple graphic consoles.
> >
> > I thought we wanted to move to a model in which a DisplayState
> > corresponds to a single QEMUConsole and a single graphic device.
> > This is the reason for Anthony to ask me this update, if I am not
> > mistaken.
>
> I need to look more closely at the patches (and I will tomorrow), but to
> me, the use of is_active_console or is_graphics_console is a red
> herring.  Nothing should never need to know whether it's the "active"
> console.  Such a concept simply shouldn't exist.
>
> I think this is Paul's point about multiple graphics consoles.  If you
> have two graphics consoles, than the concept of active console doesn't
> make very much sense.  Is that what you were thinking Paul?

Something like that, yes.

My understanding was that the plan is to have one DisplayState per image 
source. At that point the device doesn't care whether it's "active" or not 
(inactive DisplayStates will be the equivalent of /dev/null).
If we still have a single DisplayState shared by multiple sources then 
is_graphics_console is not a sufficient check to tell whether the VGA device 
is active.

I'm not sure that removing QEMUConsole without adding multiple DisplayStates 
is feasible.

Paul

  reply	other threads:[~2008-11-28  0:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 17:47 [Qemu-devel] [PATCH 0 of 7] [UPDATE] DisplayState interface change Stefano Stabellini
2008-11-26 18:40 ` Paul Brook
2008-11-26 19:08   ` Stefano Stabellini
2008-11-27 23:42     ` Anthony Liguori
2008-11-28  0:29       ` Paul Brook [this message]
2008-12-02 19:35         ` Anthony Liguori
2008-12-11 11:55           ` Stefano Stabellini
2008-12-11 12:39             ` Paul Brook
2008-12-11 15:22               ` Stefano Stabellini
2008-12-11 15:29                 ` Paul Brook
2008-12-11 15:37                   ` Stefano Stabellini
2008-12-11 15:45                     ` Paul Brook
2008-11-28 11:03       ` Stefano Stabellini
2008-12-02 19:33 ` 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=200811280029.57082.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    /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).