WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] - make qemu serial summagraphics settings a bitm

To: "Ben Thomas" <bthomas@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] - make qemu serial summagraphics settings a bitmore fluid
From: "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>
Date: Thu, 18 May 2006 13:26:50 -0700
Delivery-date: Thu, 18 May 2006 13:27:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZ6rDT8+uzeYzxhT/y+e607uXJakAAC0MeQ
Thread-topic: [Xen-devel] [PATCH] - make qemu serial summagraphics settings a bitmore fluid
Ben-

I like the idea but I don't understand how this patch can work:

1)  You never put a name into `serial_devices[]' for the summa port.
The loop in `main' that initializes the serial devices only calls
`qemu_chr_open' if there's a string name in `serial_devices'.  How did
you get this to work?

2)  Minor point, I don't see the need for the `serial_summa' array, a
simple integer that is initialized to -1 would accomplish the same
thing.  (I have this thing about wasting memory :-)

3)  Personally, I hate counting serial ports from 1, everybody knows
that computers count from 0.  I'd refer to it as which `ttyS' port to
use, starting from 0, but I'm willing to live with the COM terminology.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Donald.D.Dugger@xxxxxxxxx
Ph: (303)440-1368 

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ben Thomas
>Sent: Thursday, May 18, 2006 12:50 PM
>To: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-devel] [PATCH] - make qemu serial summagraphics 
>settings a bitmore fluid
>
>Changeset 9967 made the qemu serial line Summagraphics support a little
>more flexible with respect to the COM line chosen.  This patch
>furthers that effort by removing the COM2 restriction.  This patch
>allows a "-summa n" command line option to qemu to specify which, if
>any, COM port should be using the Summagraphics protocols.
>
>Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)
>
>-- 
>---------------------------------------------------------------
>---------
>Ben Thomas                                         Virtual 
>Iron Software
>bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
>978-849-1214                                       900 
>Chelmsford Street
>                                                    Lowell, MA 01851
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>