From: Keir Fraser Subject: Re: [PATCH] [QEMU-DM] Upgrade emulated UART to 16550A. Date: Wed, 05 Dec 2007 13:55:20 +0000 Message-ID: References: <515922b50712040832ifc112b1j52e1d2390d7c7459@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2129176729==" Return-path: In-Reply-To: <515922b50712040832ifc112b1j52e1d2390d7c7459@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Trolle Selander , xen-devel List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============2129176729== Content-type: multipart/alternative; boundary="B_3279707722_14334590" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3279707722_14334590 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Please email me a signed-off-by line: Signed-off-by: Trolle Selander You can see the Developer=B9s Certificate of Origin at: http://old.linux-foundation.org/newsroom/press_releases/2004/2004_05_24_dco= . html ...which is what you are certifying by providing the signed-off-by attribution for your patches. -- Keir On 4/12/07 16:32, "Trolle Selander" wrote: > 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 o= ld > code already, sometimes considerably so (on my laptop, dumping out data o= ver > serial from a HVM DomU -> pty in Dom0 was up to 5.3 times faster than wit= h the > old 16450 code). I can consistenly reach full 115200 baud speeds over phy= sical > serial lines when the virtual device is backed by a phys port, which I ne= ver > could with the old code. >=20 > There are still some things to be done. I want to add proper error handli= ng, > so that overflow/framing & parity errors on the physical port get detecte= d and > reported by the virtual port. Also, now that FIFOs are in place, I believ= e > 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 dee= per > FIFOs.=20 >=20 > However, for now, I think this patch is already quite good, and I don't t= hink > I should sit on it any longer. I'm looking forward to hearing what result= s > others will get with it. >=20 > It applies on top of my previously posted patch for modem status/control = line > passthrough, so I'm re-posting that patch here as well to make things eas= ier. >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --B_3279707722_14334590 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] [PATCH] [QEMU-DM] Upgrade emulated UART to 16550A.</= TITLE> </HEAD> <BODY> <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'>Pleas= e email me a signed-off-by line:<BR> Signed-off-by: Trolle Selander <trolle.selander@gmail.com><BR> <BR> You can see the Developer’s Certificate of Origin at:<BR> <a href=3D"http://old.linux-foundation.org/newsroom/press_releases/2004/2004_= 05_24_dco.html">http://old.linux-foundation.org/newsroom/press_releases/2004= /2004_05_24_dco.html</a><BR> ...which is what you are certifying by providing the signed-off-by attribut= ion for your patches.<BR> <BR>  -- Keir<BR> <BR> On 4/12/07 16:32, "Trolle Selander" <trolle.selander@gmail.com= > wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL= E=3D'font-size:12.0px'>This patch adds 16550 emulation to qemu-dm. I still con= sider it a work in progress, but from my testing, it consistently performs b= etter than the old code already, sometimes considerably so (on my laptop, du= mping out data over serial from a HVM DomU -> pty in Dom0 was up to 5.3 t= imes faster than with the old 16450 code). I can consistenly reach full 1152= 00 baud speeds over physical serial lines when the virtual device is backed = by a phys port, which I never could with the old code.<BR> <BR> 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 dete= cted and reported by the virtual port. Also, now that FIFOs are in place, I = believe performance could be improved significantly by putting some code int= o the hypervisor so that reads & writes from the FIFOs don't have to exi= t into qemu-dm at all. I'm also reading up on the specs for newer uarts with= deeper FIFOs. <BR> <BR> However, for now, I think this patch is already quite good, and I don't thi= nk I should sit on it any longer. I'm looking forward to hearing what result= s others will get with it.<BR> <BR> It applies on top of my previously posted patch for modem status/control li= ne passthrough, so I'm re-posting that patch here as well to make things eas= ier. <BR> <BR> <BR> <HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"95%"></SPAN></FONT><FONT SIZE=3D"2"><FONT FA= CE=3D"Monaco, Courier New"><SPAN STYLE=3D'font-size:10.0px'>____________________= ___________________________<BR> Xen-devel mailing list<BR> Xen-devel@lists.xensource.com<BR> <a href=3D"http://lists.xensource.com/xen-devel">http://lists.xensource.com/x= en-devel</a><BR> </SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE=3D"2"><FONT FACE=3D"Monaco, Courie= r New"><SPAN STYLE=3D'font-size:10.0px'><BR> </SPAN></FONT></FONT> </BODY> </HTML> --B_3279707722_14334590-- --===============2129176729== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2129176729==--