VirtualBox

Changeset 14107 in vbox


Ignore:
Timestamp:
Nov 11, 2008 7:24:25 PM (16 years ago)
Author:
vboxsync
Message:

Added InjectNMI method to the MachineDebugger class.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineDebuggerImpl.cpp

    r13837 r14107  
    380380
    381381    PATMR3AllowPatching(pVM, enable);
    382     return E_NOTIMPL;
     382    return S_OK;
     383}
     384
     385/**
     386 * Set the new patch manager enabled flag.
     387 *
     388 * @returns COM status code
     389 * @param   new patch manager enabled flag
     390 */
     391STDMETHODIMP MachineDebugger::InjectNMI()
     392{
     393    AutoWriteLock alock (this);
     394    CHECK_READY();
     395    LogFlowThisFunc ((""));
     396
     397    Console::SafeVMPtr pVM (mParent);
     398    CheckComRCReturnRC (pVM.rc());
     399
     400    HWACCMR3InjectNMI(pVM);
     401    return S_OK;
    383402}
    384403
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r14084 r14107  
    86628662  <interface
    86638663     name="IMachineDebugger" extends="$unknown"
    8664      uuid="0de52346-938b-4020-a33b-471be542f3ff"
     8664     uuid="b0b2a2dd-0627-4502-91c2-ddc5e77609e0"
    86658665     wsmap="suppress"
    86668666     >
     
    86968696        <desc>The XML document containing the statistics.</desc>
    86978697      </param>
     8698    </method>
     8699
     8700    <method name="injectNMI">
     8701      <desc>
     8702        Inject an NMI into a running VT-x/AMD-V VM.
     8703      </desc>
    86988704    </method>
    86998705
  • trunk/src/VBox/Main/include/MachineDebuggerImpl.h

    r13221 r14107  
    7373    STDMETHOD(COMSETTER(VirtualTimeRate))(ULONG pct);
    7474    STDMETHOD(COMGETTER(VM))(ULONG64 *vm);
     75    STDMETHOD(InjectNMI)();
    7576
    7677    // IMachineDebugger methods
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