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: pass-through: fix regression in the

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: pass-through: fix regression in the ordering of the output of xm pci list
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jul 2009 06:10:17 -0700
Delivery-date: Wed, 22 Jul 2009 06:18:36 -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 1248182812 -3600
# Node ID 261f4a1276167195af6c6024f45c3f55a137caaf
# Parent  534d3716bbbec27d8602a27334eb52a9aa89206b
xend: pass-through: fix regression in the ordering of the output of xm pci list

changeset "python: Remove tab indents" (19937:e845326ae203)
introduces a minor regression in the multi-function PCI pass-through
code by causing bogus return values from the sort function
which is used to order the output of "xm pci list".

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 534d3716bbbe -r 261f4a127616 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Tue Jul 21 12:06:52 2009 +0100
+++ b/tools/python/xen/xm/main.py       Tue Jul 21 14:26:52 2009 +0100
@@ -2234,7 +2234,7 @@ def xm_pci_list(args):
             vdevfn = AUTO_PHP_SLOT
         else:
             vdevfn = x['vdevfn']
-            return (vdevfn << 32) | \
+        return (vdevfn << 32) | \
                    PCI_BDF(x['domain'], x['bus'], x['slot'], x['func'])
     devs.sort(None, f)
 

_______________________________________________
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: pass-through: fix regression in the ordering of the output of xm pci list, Xen patchbot-unstable <=