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-ia64-devel

[Xen-ia64-devel] Transparent virtualization and serial port.

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Subject: [Xen-ia64-devel] Transparent virtualization and serial port.
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 8 Aug 2006 12:54:22 +0200
Delivery-date: Tue, 08 Aug 2006 03:49:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Hi,

using this small patch:

diff -r 8370553249bb xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Tue Aug 08 10:59:08 2006 +0200
+++ b/xen/arch/ia64/xen/mm.c    Tue Aug 08 11:00:28 2006 +0200
@@ -908,6 +908,9 @@ ioports_deny_access(struct domain *d, un
         io_ports_base = __pa(ia64_iobase);
     else
         io_ports_base = IO_PORTS_PADDR;
+
+    if (d == dom0 && fp == 0x2f8 && lp == 0x2ff)
+        fp = 0x2f0;
 
     fp_offset = IO_SPACE_SPARSE_ENCODING(fp) & PAGE_MASK;
     lp_offset = PAGE_ALIGN(IO_SPACE_SPARSE_ENCODING(lp));


I was able to use linux compiled with serial port and xencons enabled.
This patch is a real kludge but if it is worth we can try to correctly disable 
serial port for xen console.

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