[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND] Write the default ABI to the xenstore entry for each frontend
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |