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

[Xen-devel] [PATCH]Check the existence of serial port before using

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]Check the existence of serial port before using
From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
Date: Fri, 12 Sep 2008 18:04:23 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Sep 2008 03:04:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckUvu6pgwP2pq1kQIi4fG4aJmTOqw==
Thread-topic: [PATCH]Check the existence of serial port before using
Hi, Keir,
   Xen doesn't check the existence of serial ports before using in the
current version. This brings some problems, e.g., we will get a zero
value when reading a non-existent register, if this value is used as a
divider later the system will crash. We found some machines without
serial port will fail to do S3 because of this issue. The attached patch
fixed this problem.

Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>

Attachment: serial_check.patch
Description: serial_check.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]Check the existence of serial port before using, Chen, Huacai <=