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

[Xen-devel] [PATCH V2] Fix xm pci-list for inactive managed domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH V2] Fix xm pci-list for inactive managed domains
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 14 May 2009 19:11:58 +0900
Cc: horms@xxxxxxxxxxxx
Delivery-date: Thu, 14 May 2009 03:12:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Virtual slot numbers are shown as follows by this patch.

# cat /etc/xen/vm1 | grep pci
pci = [ '01:00.0','01:00.1' ]
# xm new vm1
Using config file "/etc/xen/vm1".
# xm pci-list vm1
domain   bus   slot   func
0x0      0x01  0x00   0x0
0x0      0x01  0x00   0x1


# cat /etc/xen/vm1 | grep pci
pci = [ '01:00.0@a','01:00.1' ]
# xm new vm1
Using config file "/etc/xen/vm1".
# xm pci-list vm1
VSlt domain   bus   slot   func
0xa  0x0      0x01  0x00   0x0
-    0x0      0x01  0x00   0x1


# cat /etc/xen/vm1 | grep pci
pci = [ '01:00.0','01:00.1@1a' ]
# xm new vm1
Using config file "/etc/xen/vm1".
# xm pci-list vm1
VSlt domain   bus   slot   func
-    0x0      0x01  0x00   0x0
0x1a 0x0      0x01  0x00   0x1


# cat /etc/xen/vm1 | grep pci
pci = [ '01:00.0@a','01:00.1@1a' ]
# xm new vm1
Using config file "/etc/xen/vm1".
# xm pci-list vm1
VSlt domain   bus   slot   func
0xa  0x0      0x01  0x00   0x0
0x1a 0x0      0x01  0x00   0x1


Cc: Simon Horman <horms@xxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_pci_list_v2.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>