From: Alex Williamson <alex.williamson@hp.com>
To: trolle.selander@gmail.com
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [Xen-staging] [xen-unstable] [QEMU-DM] Upgrade emulated UART to 16550A.
Date: Wed, 05 Dec 2007 13:15:29 -0700 [thread overview]
Message-ID: <1196885729.6509.36.camel@lappy> (raw)
In-Reply-To: <200712051422.lB5EMOK6007392@latara.uk.xensource.com>
On Wed, 2007-12-05 at 14:22 +0000, Xen staging patchbot-unstable wrote:
> # HG changeset patch
> # User Keir Fraser
> # Date 1196864460 0
> # Node ID f0ac46de680cc6fe8c91699fdda153b125ae515c
> # Parent bf21e00155b7dd76653c5340099ecedac7a7de08
> [QEMU-DM] Upgrade emulated UART to 16550A.
>
> This patch adds 16550 emulation to qemu-dm. I still consider it a work
> in progress, but from my testing, it consistently performs better than
> the old code already, sometimes considerably so (on my laptop, dumping
> out data over serial from a HVM DomU -> pty in Dom0 was up to 5.3
> times faster than with the old 16450 code). I can consistenly reach
> full 115200 baud speeds over physical serial lines when the virtual
> device is backed by a phys port, which I never could with the old code.
>
> There are still some things to be done. I want to add proper error
> handling, so that overflow/framing & parity errors on the physical
> port get detected and reported by the virtual port. Also, now that
> FIFOs are in place, I believe performance could be improved
> significantly by putting some code into the hypervisor so that reads &
> writes from the FIFOs don't have to exit into qemu-dm at all. I'm also
> reading up on the specs for newer uarts with deeper FIFOs.
I notice with this patch that my HVM domain, which specifies
serial=pty in the config file, no longer boots without me attaching to
the console via xm. Previously it would boot regardless of whether I
was attached to the console. Is this change in behavior intentional?
Note that I'm testing on ia64 where the HVM firmware spews lots of debug
info out onto the serial port. Maybe this new UART model isn't dropping
transmit chars when there's no client connected as it did before?
Thanks,
Alex
--
Alex Williamson HP Open Source & Linux Org.
next parent reply other threads:[~2007-12-05 20:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200712051422.lB5EMOK6007392@latara.uk.xensource.com>
2007-12-05 20:15 ` Alex Williamson [this message]
2007-12-05 20:30 ` [Xen-staging] [xen-unstable] [QEMU-DM] Upgrade emulated UART to 16550A Trolle Selander
2007-12-05 22:07 ` Trolle Selander
2007-12-07 17:21 ` Alex Williamson
2007-12-07 17:43 ` Keir Fraser
2007-12-07 17:53 ` Trolle Selander
2007-12-07 19:36 ` Trolle Selander
2007-12-07 20:03 ` Alex Williamson
2007-12-07 20:14 ` Trolle Selander
2007-12-07 17:51 ` Trolle Selander
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=1196885729.6509.36.camel@lappy \
--to=alex.williamson@hp.com \
--cc=trolle.selander@gmail.com \
--cc=xen-devel@lists.xensource.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 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.