All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: seabios@seabios.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 0/3] seabios: add serial console support
Date: Tue, 05 Jul 2016 12:00:48 +0200	[thread overview]
Message-ID: <1467712848.12358.21.camel@redhat.com> (raw)
In-Reply-To: <20160705080605.GA6553@redhat.com>

On Di, 2016-07-05 at 09:06 +0100, Daniel P. Berrange wrote:
> On Mon, Jul 04, 2016 at 10:39:51PM +0200, Gerd Hoffmann wrote:
> >   Hi,
> > 
> > Next round of patches.  Changes:
> > 
> >  * Moved it all to a new sercon.c file.
> >  * Code maps cp437 to utf8 now, giving a much nicer display.  Compare
> >    "Use the ↑ and ↓ keys to change the selection." (this series) with
> >    "Use the ^ and v keys to change the selection." (sgabios)  ;-)
> >  * Simplified keyboard code, using enqueue_key now.
> >  * Restructed code, to cleanup things and to address review comments.
> 
> Currently libvirt has an option to turn on serial console support
> for the BIOS. When this is set it adds the sga device. How will
> libvirt know when seabios has this feature built-in, and thus does
> not need to add the sga device ? 

Current code activates the serial console (unconditionally) in case no
vga is present.  I want also support output on both vga and serial
console, but code for the later isn't there yet.

What the final default behavior will be is not clear yet.  Not enabled?
Enabled in case no VGA is present?  Enabled unconditionally (simliar to
ovmf)?

Likewise it is not clear yet how we'll go enable/disable this.

One option would be to continue using sgabios.bin in fw_cfg.  But
instead of loading and executing it activate the build-in serial console
if we find the file.  That would make the switch completely transparent
to upper layers.  But it is quite hackish of course ...

Comments and ideas are welcome.

cheers,
  Gerd

  reply	other threads:[~2016-07-05 10:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04 20:39 [Qemu-devel] [PATCH v2 0/3] seabios: add serial console support Gerd Hoffmann
2016-07-04 20:39 ` [Qemu-devel] [PATCH 1/3] std: add cp437 to unicode map Gerd Hoffmann
2016-07-05 13:49   ` [Qemu-devel] [SeaBIOS] " Kevin O'Connor
2016-07-04 20:39 ` [Qemu-devel] [PATCH 2/3] kbd: make enqueue_key public, add ascii_to_keycode Gerd Hoffmann
2016-07-04 20:39 ` [Qemu-devel] [PATCH 3/3] add serial console support Gerd Hoffmann
2016-07-05 14:30   ` [Qemu-devel] [SeaBIOS] " Kevin O'Connor
2016-07-05 15:07     ` Gerd Hoffmann
2016-07-05 15:23       ` Kevin O'Connor
2016-07-05  8:06 ` [Qemu-devel] [PATCH v2 0/3] seabios: " Daniel P. Berrange
2016-07-05 10:00   ` Gerd Hoffmann [this message]
2016-07-05 10:07     ` Daniel P. Berrange
2016-07-05 11:45       ` Paolo Bonzini
2016-07-05 11:59         ` Daniel P. Berrange
2016-07-05 11:15     ` Paolo Bonzini

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=1467712848.12358.21.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.