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

[Xen-changelog] [xen-unstable] xend: pass-through: fix typo: spx -> sxp



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245148516 -3600
# Node ID 08de8ec655c2361a4cb68590cfa2ce2762f7c55e
# Parent  a5f584c1e2f63fac5ed38abe15f8ed06898e2402
xend: pass-through: fix typo: spx -> sxp

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/python/xen/util/pci.py            |    2 +-
 tools/python/xen/xend/XendDomainInfo.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r a5f584c1e2f6 -r 08de8ec655c2 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py      Tue Jun 16 11:33:23 2009 +0100
+++ b/tools/python/xen/util/pci.py      Tue Jun 16 11:35:16 2009 +0100
@@ -124,7 +124,7 @@ def split_pci_opts(opts):
 def split_pci_opts(opts):
     return map(lambda x: x.split('='), opts.split(','))
 
-def pci_opts_list_to_spx(list):
+def pci_opts_list_to_sxp(list):
     ['dev'] + map(lambda x: ['opts', x], list)
 
 def parse_hex(val):
diff -r a5f584c1e2f6 -r 08de8ec655c2 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Jun 16 11:33:23 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Jun 16 11:35:16 2009 +0100
@@ -39,7 +39,7 @@ from xen.util.blkif import blkdev_uname_
 from xen.util.blkif import blkdev_uname_to_file, blkdev_uname_to_taptype
 import xen.util.xsm.xsm as security
 from xen.util import xsconstants
-from xen.util.pci import serialise_pci_opts, pci_opts_list_to_spx
+from xen.util.pci import serialise_pci_opts, pci_opts_list_to_sxp
 
 from xen.xend import balloon, sxp, uuid, image, arch
 from xen.xend import XendOptions, XendNode, XendConfig
@@ -3771,7 +3771,7 @@ class XendDomainInfo:
         opts_dict = xenapi_pci.get('options')
         for k in opts_dict.keys():
             dpci_opts.append([k, opts_dict[k]])
-        opts_sxp = pci_opts_list_to_spx(dpci_opts)
+        opts_sxp = pci_opts_list_to_sxp(dpci_opts)
 
         # Convert xenapi to sxp
         ppci = XendAPIStore.get(xenapi_pci.get('PPCI'), 'PPCI')

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


 


Rackspace

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