Bug 544947 - xm pci-list cann`t show pci devices assigned to PV guest
Summary: xm pci-list cann`t show pci devices assigned to PV guest
Keywords:
Status: CLOSED DUPLICATE of bug 514025
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Xen Maintainance List
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-07 05:26 UTC by Yufang Zhang
Modified: 2010-07-19 13:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-23 02:57:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
xend.log (425.65 KB, text/plain)
2009-12-07 05:28 UTC, Yufang Zhang
no flags Details

Description Yufang Zhang 2009-12-07 05:26:49 UTC
Description of problem:
When assign a pci device to PV guest, xm pci-list doesn`t show the pci device identifier but error outputs:

# xm pci-list PvDomain
VSlt domain   bus   slot   func
Unexpected error: exceptions.TypeError

Please report to xen-devel.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1598, in main
    rc = cmd(args)
  File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1266, in xm_pci_list
    print ( fmt_str % x )
TypeError: int argument required



Version-Release number of selected component (if applicable):
xen-3.0.3-94.el5

How reproducible:
Always

Steps to Reproduce:
1.
# xm pci-list-assignable-devices
0000:03:00.0

2.
# xm cr /etc/xen/test_pv pci="0000:03:00.0"
Using config file "/etc/xen/test_pv".
file /root/pv.img
Started domain PvDomain

3.
# xm pci-list PvDomain
VSlt domain   bus   slot   func
Unexpected error: exceptions.TypeError

Please report to xen-devel.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1598, in main
    rc = cmd(args)
  File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1266, in xm_pci_list
    print ( fmt_str % x )
TypeError: int argument required

  
Actual results:


Expected results:


Additional info:

Comment 1 Yufang Zhang 2009-12-07 05:28:01 UTC
Created attachment 376584 [details]
xend.log

Comment 2 Yufang Zhang 2009-12-23 02:57:31 UTC

*** This bug has been marked as a duplicate of bug 514025 ***

Comment 3 Paolo Bonzini 2010-04-08 15:43:04 UTC
This bug was closed during 5.5 development and it's being removed from the internal tracking bugs (which are now for 5.6).

Comment 4 Chris Lalancette 2010-07-19 13:34:02 UTC
Clearing out old flags for reporting purposes.

Chris Lalancette


Note You need to log in before you can comment on or make changes to this bug.