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] [XEND] Write the default ABI to the xenst

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Write the default ABI to the xenstore entry for each frontend
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2007 11:10:09 -0700
Delivery-date: Thu, 17 May 2007 11:09:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1179252048 -3600
# Node ID 5efb46bfbcac99e630a75a677401060fbec3cc2a
# Parent  5c7a1e3abd5433c7b2eff6950bd566ec9d500eba
[XEND] Write the default ABI to the xenstore entry for each frontend
device.

This allows to run older kernels in a 32on64 mixed environment.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py       |    4 ++++
 tools/python/xen/xend/server/DevController.py |    2 ++
 2 files changed, 6 insertions(+)

diff -r 5c7a1e3abd54 -r 5efb46bfbcac tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue May 15 17:54:48 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue May 15 19:00:48 2007 +0100
@@ -357,6 +357,8 @@ class XendDomainInfo:
         self.console_port = None
         self.console_mfn = None
 
+        self.native_protocol = None
+
         self.vmWatch = None
         self.shutdownWatch = None
         self.shutdownStartTime = None
@@ -1520,6 +1522,8 @@ class XendDomainInfo:
                 self.console_mfn = channel_details['console_mfn']
             if 'notes' in channel_details:
                 self.info.set_notes(channel_details['notes'])
+            if 'native_protocol' in channel_details:
+                self.native_protocol = channel_details['native_protocol'];
 
             self._introduceDomain()
 
diff -r 5c7a1e3abd54 -r 5efb46bfbcac 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Tue May 15 17:54:48 
2007 +0100
+++ b/tools/python/xen/xend/server/DevController.py     Tue May 15 19:00:48 
2007 +0100
@@ -459,6 +459,8 @@ class DevController:
             'state' : str(xenbusState['Initialising'])
             })
 
+        if self.vm.native_protocol:
+            frontDetails.update({'protocol' : self.vm.native_protocol})
 
         backDetails.update({
             'domain' : self.vm.getName(),

_______________________________________________
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] [XEND] Write the default ABI to the xenstore entry for each frontend, Xen patchbot-unstable <=