qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] chardev: add vte chardev
Date: Wed, 13 Mar 2013 12:27:10 -0500	[thread overview]
Message-ID: <87r4jjrz0x.fsf@codemonkey.ws> (raw)
In-Reply-To: <5140AA47.5020209@redhat.com>

Gerd Hoffmann <kraxel@redhat.com> writes:

>   Hi,
>
>>> Also:  Once I'm done with the console cleanup it will be easy to make
>>> 'vc' actually work with gtk.
>> 
>> Please no.  'vc' needs to die.  I don't want anyone using it...
>
> Likewise easy.
>
>>>> 'vc' is a graphical chardev and it should be up to what UI layer to
>>>> decide how to express it
>>>
>>> No.
>>>
>>> 'vc' is a DisplaySurface filled by the qemu terminal emulation.  It's
>>> generic and works with any UI.
>> 
>> QEMU shouldn't be in the terminal emulation business.
>
> Well, it already is.  Not that I want extend it or would recommend using
> it if there are better options.  But there is no reason to break it, and
> it is useful to me now and then.

qemu -display sdl -vnc :1 -serial vc

Continues to do what it did before.

qemu -display gtk -vnc :1 -serial vc

Seg faults which is bad.  I can look more deeply into that.

But with your proposal, the above would either (1) use the old style
console in GTK or (2) not make the console available in gtk.

Both are bad because they have consequences for:

qemu -serial vc

The above must continue to have a reasonable behavior by default and
with GTK as the default, that means using VTE as the terminal emulation.

If you can find a way to make 'qemu -display gtk -vnc :1 -serial vc'
behave without impacting the other use-cases, I'm open to that but just
renaming 'vc' to 'vte' for gtk is going to be a compat breaker.

Regards,

Anthony Liguori

>
> cheers,
>   Gerd

  reply	other threads:[~2013-03-13 17:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 10:18 [Qemu-devel] [PATCH] chardev: add vte chardev Gerd Hoffmann
2013-03-13 12:29 ` Anthony Liguori
2013-03-13 14:25   ` Gerd Hoffmann
2013-03-13 15:59     ` Anthony Liguori
2013-03-13 16:33       ` Gerd Hoffmann
2013-03-13 17:27         ` Anthony Liguori [this message]
2013-03-14  8:03           ` Gerd Hoffmann

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=87r4jjrz0x.fsf@codemonkey.ws \
    --to=aliguori@us.ibm.com \
    --cc=kraxel@redhat.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).