VirtualBox

Changeset 25845 in vbox


Ignore:
Timestamp:
Jan 14, 2010 7:50:48 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56627
Message:

Check for hot-plug flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r25838 r25845  
    21002100    LogFlow(("acpiAttach: pDevIns=%p iLUN=%u fFlags=%#x\n", pDevIns, iLUN, fFlags));
    21012101
     2102    AssertMsgReturn(!(fFlags & PDM_TACH_FLAGS_NOT_HOT_PLUG),
     2103                    ("Hot-plug flag is not set\n"),
     2104                    VERR_NOT_SUPPORTED);
     2105
    21022106    /* Check if it was already attached */
    21032107    if (VMCPUSET_IS_PRESENT(&s->CpuSetAttached, iLUN))
     
    21392143
    21402144    LogFlow(("acpiDetach: pDevIns=%p iLUN=%u fFlags=%#x\n", pDevIns, iLUN, fFlags));
     2145
     2146    AssertMsgReturnVoid(!(fFlags & PDM_TACH_FLAGS_NOT_HOT_PLUG),
     2147                        ("Hot-plug flag is not set\n"));
    21412148
    21422149    /* Check if it was already detached */
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