[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.