VirtualBox

Ignore:
Timestamp:
Feb 28, 2011 6:24:32 PM (14 years ago)
Author:
vboxsync
Message:

PCI: some Main work to provide correct attachment info for physical devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r36048 r36107  
    31053105    for a in assigned:
    31063106        if a.isPhysicalDevice:
    3107             print "%s: assigned host device %s" %(colDev(ctx, a.name), pciAddr(ctx, a.hostAddress))
     3107            print "%s: assigned host device %s guest %s" %(colDev(ctx, a.name), pciAddr(ctx, a.hostAddress), pciAddr(ctx, a.guestAddress))
    31083108
    31093109    atts = ctx['global'].getArray(console, 'attachedPciDevices')
    31103110    for a in atts:
    31113111        if a.isPhysicalDevice:
    3112             print "%s: physical, guest %s, host %s" %(colDev(a.name), pciAddr(ctx, a.guestAddress), pciAddr(ctx, a.hostAddress))
     3112            print "%s: physical, guest %s, host %s" %(colDev(ctx, a.name), pciAddr(ctx, a.guestAddress), pciAddr(ctx, a.hostAddress))
    31133113        else:
    31143114            print "%s: virtual, guest %s" %(colDev(ctx, a.name), pciAddr(ctx, a.guestAddress))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette