- Timestamp:
- Jul 14, 2009 3:21:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r21517 r21584 448 448 print " Controllers:" 449 449 for controller in controllers: 450 print " 450 print " %s %s bus: %d" % (controller.name, getControllerType(controller.controllerType), controller.bus) 451 451 452 452 disks = ctx['global'].getArray(mach, 'hardDiskAttachments') 453 453 if disks: 454 454 print 455 print " Disks:"455 print " Hard disk(s):" 456 456 for disk in disks: 457 457 print " Controller: %s port: %d device: %d:" % (disk.controller, disk.port, disk.device) … … 462 462 print " format: " + hd.format 463 463 print 464 465 dvd = mach.DVDDrive 466 if dvd.getHostDrive() is not None: 467 hdvd = dvd.getHostDrive() 468 print " DVD:" 469 print " Host disk:",hdvd.name 470 print 471 472 if dvd.getImage() is not None: 473 vdvd = dvd.getImage() 474 print " DVD:" 475 print " Image at:",vdvd.location 476 print " Size:",vdvd.size 477 print 478 479 floppy = mach.floppyDrive 480 if floppy.getHostDrive() is not None: 481 hfloppy = floppy.getHostDrive() 482 print " Floppy:" 483 print " Host disk:",hfloppy.name 484 print 485 486 if floppy.getImage() is not None: 487 vfloppy = floppy.getImage() 488 print " Floppy:" 489 print " Image at:",vfloppy.location 490 print " Size:",vfloppy.size 491 print 492 464 493 return 0 465 494
Note:
See TracChangeset
for help on using the changeset viewer.