Changeset 10695 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 16, 2008 12:17:31 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineDebuggerImpl.cpp
r9242 r10695 530 530 531 531 /** 532 * Returns the current nested paging flag. 533 * 534 * @returns COM status code 535 * @param enabled address of result variable 536 */ 537 STDMETHODIMP MachineDebugger::COMGETTER(HWVirtExNestedPagingEnabled)(BOOL *enabled) 538 { 539 if (!enabled) 540 return E_POINTER; 541 542 AutoWriteLock alock (this); 543 CHECK_READY(); 544 545 Console::SafeVMPtrQuiet pVM (mParent); 546 if (pVM.isOk()) 547 *enabled = HWACCMR3IsNestedPagingActive(pVM.raw()); 548 else 549 *enabled = false; 550 return S_OK; 551 } 552 553 /** 532 554 * Returns the current PAE flag. 533 555 * -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r10693 r10695 8627 8627 <interface 8628 8628 name="IMachineDebugger" extends="$unknown" 8629 uuid=" b3a02721-556a-4481-9d47-052a3f8cff90"8629 uuid="54ebce96-fa7d-4a4d-bc81-a7db41c29637" 8630 8630 wsmap="suppress" 8631 8631 > … … 8690 8690 <desc> 8691 8691 Flag indicating whether the VM is currently making use of CPU hardware 8692 virtualization extensions 8692 virtualization extensions. 8693 </desc> 8694 </attribute> 8695 8696 <attribute name="HWVirtExNestedPagingEnabled" type="boolean" readonly="yes"> 8697 <desc> 8698 Flag indicating whether the VM is currently making use of the nested paging 8699 CPU hardware virtualization extension. 8693 8700 </desc> 8694 8701 </attribute> -
trunk/src/VBox/Main/include/MachineDebuggerImpl.h
r8155 r10695 67 67 STDMETHOD(COMSETTER(LogEnabled))(BOOL enable); 68 68 STDMETHOD(COMGETTER(HWVirtExEnabled))(BOOL *enabled); 69 STDMETHOD(COMGETTER(HWVirtExNestedPagingEnabled))(BOOL *enabled); 69 70 STDMETHOD(COMGETTER(PAEEnabled))(BOOL *enabled); 70 71 STDMETHOD(COMGETTER(VirtualTimeRate))(ULONG *pct);
Note:
See TracChangeset
for help on using the changeset viewer.