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-changelog

[Xen-changelog] [xen-unstable] pygrub/xend: Fix console plumbing to xenc

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] pygrub/xend: Fix console plumbing to xenconsole client.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Mar 2010 09:10:16 -0700
Delivery-date: Sat, 27 Mar 2010 09:10:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269705695 0
# Node ID f3db0ae08304d0707eda8cfc08182f444f12b35b
# Parent  0da5bad4dfcf7c2587e06b39d9228c32798195f9
pygrub/xend: Fix console plumbing to xenconsole client.

Domain's console tty now lives at serial/0/tty in xenstore.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/util/diagnose.py       |    2 +-
 tools/python/xen/xend/XendBootloader.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 0da5bad4dfcf -r f3db0ae08304 tools/python/xen/util/diagnose.py
--- a/tools/python/xen/util/diagnose.py Sat Mar 27 16:00:30 2010 +0000
+++ b/tools/python/xen/util/diagnose.py Sat Mar 27 16:01:35 2010 +0000
@@ -77,7 +77,7 @@ def diagnose_console():
 def diagnose_console():
     port    = xstransact.Read(dompath + '/console/port')
     ringref = xstransact.Read(dompath + '/console/ring-ref')
-    tty     = xstransact.Read(dompath + '/console/tty')
+    tty     = xstransact.Read(dompath + '/serial/0/tty')
 
     if not port:
         print "Console port is missing; Xend has failed."
diff -r 0da5bad4dfcf -r f3db0ae08304 tools/python/xen/xend/XendBootloader.py
--- a/tools/python/xen/xend/XendBootloader.py   Sat Mar 27 16:00:30 2010 +0000
+++ b/tools/python/xen/xend/XendBootloader.py   Sat Mar 27 16:01:35 2010 +0000
@@ -85,7 +85,7 @@ def bootloader(blexec, disk, dom, quiet 
     fcntl.fcntl(m1, fcntl.F_SETFL, os.O_NDELAY)
 
     slavename = ptsname.ptsname(m1)
-    dom.storeDom("console/tty", slavename)
+    dom.storeDom("serial/0/tty", slavename)
 
     # Release the domain lock here, because we definitely don't want 
     # a stuck bootloader to deny service to other xend clients.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] pygrub/xend: Fix console plumbing to xenconsole client., Xen patchbot-unstable <=