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

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



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


 


Rackspace

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