Changeset 28614 in vbox for trunk/src/VBox/Frontends/VBoxShell
- Timestamp:
- Apr 22, 2010 6:54:18 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60462
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r28606 r28614 617 617 if mach.audioAdapter.enabled: 618 618 print " Audio [via audioAdapter]: chip %s; host driver %s" %(asEnumElem(ctx,"AudioControllerType", mach.audioAdapter.audioController), asEnumElem(ctx,"AudioDriverType", mach.audioAdapter.audioDriver)) 619 if mach.USBController.enabled: 620 print " USB [via USBController]: high speed %s" %(asState(mach.USBController.enabledEhci)) 619 621 print " CPU hotplugging [CPUHotPlugEnabled]: %s" %(asState(mach.CPUHotPlugEnabled)) 620 622 … … 1001 1003 host = ctx['vb'].host 1002 1004 cnt = host.processorCount 1003 print "Processor count:",cnt1005 print "Processors available/online: %d/%d " %(cnt,host.processorOnlineCount) 1004 1006 for i in range(0,cnt): 1005 1007 print "Processor #%d speed: %dMHz %s" %(i,host.getProcessorSpeed(i), host.getProcessorDescription(i)) … … 1018 1020 print "DVD drives:" 1019 1021 for dd in ctx['global'].getArray(host, 'DVDDrives'): 1022 print " %s - %s" %(dd.name, dd.description) 1023 1024 print "Floppy drives:" 1025 for dd in ctx['global'].getArray(host, 'floppyDrives'): 1020 1026 print " %s - %s" %(dd.name, dd.description) 1021 1027 … … 1241 1247 print "usage: exportVm <machine> <path> <format> <license>" 1242 1248 return 0 1243 mach = ctx['machById'](args[1])1249 mach = argsToMach(ctx,args) 1244 1250 if mach is None: 1245 1251 return 0 … … 1437 1443 print "usage: typeGuest <machine> <text> <charDelay>" 1438 1444 return 0 1439 mach = ctx['machById'](args[1])1445 mach = argsToMach(ctx,args) 1440 1446 if mach is None: 1441 1447 return 0 … … 1541 1547 return 0 1542 1548 1543 mach = ctx['machById'](args[1])1549 mach = argsToMach(ctx,args) 1544 1550 if mach is None: 1545 1551 return 0 … … 1572 1578 return 0 1573 1579 1574 mach = ctx['machById'](args[1])1580 mach = argsToMach(ctx,args) 1575 1581 if mach is None: 1576 1582 return 0 … … 1686 1692 return 0 1687 1693 1688 mach = ctx['machById'](args[1])1694 mach = argsToMach(ctx,args) 1689 1695 if mach is None: 1690 1696 return 0 … … 1706 1712 return 0 1707 1713 1708 mach = ctx['machById'](args[1])1714 mach = argsToMach(ctx,args) 1709 1715 if mach is None: 1710 1716 return 0 … … 1725 1731 return 0 1726 1732 1727 mach = ctx['machById'](args[1])1733 mach = argsToMach(ctx,args) 1728 1734 if mach is None: 1729 1735 return 0 … … 1748 1754 return 0 1749 1755 1750 mach = ctx['machById'](args[1])1756 mach = argsToMach(ctx,args) 1751 1757 if mach is None: 1752 1758 return 0 … … 1779 1785 type = None 1780 1786 1781 mach = ctx['machById'](args[1])1787 mach = argsToMach(ctx,args) 1782 1788 if mach is None: 1783 1789 return 0 … … 1795 1801 return 0 1796 1802 1797 mach = ctx['machById'](args[1])1803 mach = argsToMach(ctx,args) 1798 1804 if mach is None: 1799 1805 return 0 … … 1841 1847 'sleep':['Sleep for specified number of seconds: sleep 3.14159', sleepCmd, 0], 1842 1848 'shell':['Execute external shell command: shell "ls /etc/rc*"', shellCmd, 0], 1843 'exportVm':['Export VM in OVF format: export Win /tmp/win.ovf', exportVMCmd, 0],1849 'exportVm':['Export VM in OVF format: exportVm Win /tmp/win.ovf', exportVMCmd, 0], 1844 1850 'screenshot':['Take VM screenshot to a file: screenshot Win /tmp/win.png 1024 768', screenshotCmd, 0], 1845 1851 'teleport':['Teleport VM to another box (see openportal): teleport Win anotherhost:8000 <passwd> <maxDowntime>', teleportCmd, 0],
Note:
See TracChangeset
for help on using the changeset viewer.