Changeset 87851 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Feb 23, 2021 5:29:34 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142916
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r87241 r87851 568 568 do \ 569 569 { \ 570 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 570 571 if (details == VMINFO_MACHINEREADABLE) \ 571 572 outputMachineReadableString(a_pszMachine, a_fValue ? "on" : "off"); \ … … 580 581 do \ 581 582 { \ 583 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 582 584 if (details == VMINFO_MACHINEREADABLE) \ 583 585 RTPrintf("%s=%u\n", a_pszMachine, a_uValue); \ … … 589 591 do \ 590 592 { \ 593 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 591 594 if (details == VMINFO_MACHINEREADABLE) \ 592 595 RTPrintf("%s=%lld\n", a_pszMachine, a_llValue); \ … … 601 604 do \ 602 605 { \ 606 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 603 607 BOOL f; \ 604 608 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(&f), hrcCheck); \ … … 612 616 do \ 613 617 { \ 618 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 614 619 BOOL f; \ 615 620 CHECK_ERROR2I_RET(a_pObj, a_Invocation, hrcCheck); \ … … 623 628 do \ 624 629 { \ 630 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 625 631 Bstr bstr; \ 626 632 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(bstr.asOutParam()), hrcCheck); \ … … 634 640 do \ 635 641 { \ 642 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 636 643 Bstr bstr; \ 637 644 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(bstr.asOutParam()), hrcCheck); \ … … 650 657 do \ 651 658 { \ 659 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 652 660 Bstr bstr; \ 653 661 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(bstr.asOutParam()), hrcCheck); \ … … 664 672 do \ 665 673 { \ 674 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 666 675 SafeArray<BSTR> array; \ 667 676 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(ComSafeArrayAsOutParam(array)), hrcCheck); \ … … 686 695 do \ 687 696 { \ 697 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 688 698 USHORT u16 = 0; \ 689 699 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(&u16), hrcCheck); \ … … 697 707 do \ 698 708 { \ 709 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 699 710 ULONG u32 = 0; \ 700 711 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(&u32), hrcCheck); \ … … 708 719 do \ 709 720 { \ 721 Assert(a_pszHuman[strlen(a_pszHuman) - 1] == ':'); \ 710 722 LONG64 i64 = 0; \ 711 723 CHECK_ERROR2I_RET(a_pObj, COMGETTER(a_Prop)(&i64), hrcCheck); \ … … 788 800 SHOW_STRING_PROP( machine, LogFolder, "LogFldr", "Log folder:"); 789 801 SHOW_UUID_PROP( machine, HardwareUUID, "hardwareuuid", "Hardware UUID:"); 790 SHOW_ULONG_PROP( machine, MemorySize, "memory", "Memory size ","MB");802 SHOW_ULONG_PROP( machine, MemorySize, "memory", "Memory size:", "MB"); 791 803 SHOW_BOOLEAN_PROP( machine, PageFusionEnabled, "pagefusion", "Page Fusion:"); 792 804 ComPtr<IGraphicsAdapter> pGraphicsAdapter; 793 805 machine->COMGETTER(GraphicsAdapter)(pGraphicsAdapter.asOutParam()); 794 SHOW_ULONG_PROP(pGraphicsAdapter, VRAMSize, "vram", "VRAM size:", 795 SHOW_ULONG_PROP( machine, CPUExecutionCap, "cpuexecutioncap", "CPU exec cap:", 806 SHOW_ULONG_PROP(pGraphicsAdapter, VRAMSize, "vram", "VRAM size:", "MB"); 807 SHOW_ULONG_PROP( machine, CPUExecutionCap, "cpuexecutioncap", "CPU exec cap:", "%"); 796 808 SHOW_BOOLEAN_PROP( machine, HPETEnabled, "hpet", "HPET:"); 797 SHOW_STRING_PROP_MAJ( machine, CPUProfile, "cpu-profile", "CPUProfile:", 809 SHOW_STRING_PROP_MAJ( machine, CPUProfile, "cpu-profile", "CPUProfile:", "host", 6); 798 810 799 811 ChipsetType_T chipsetType;
Note:
See TracChangeset
for help on using the changeset viewer.