VirtualBox

Changeset 82457 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 6, 2019 1:05:30 PM (5 years ago)
Author:
vboxsync
Message:

PDM: Require PDM_DEVREG_FLAGS_NEW_STYLE to be set now. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp

    r81937 r82457  
    804804                          ("%#x (szName=%s)\n", pReg->cMaxMsixVectors, pReg->szName),
    805805                          VERR_PDM_INVALID_DEVICE_REGISTRATION);
     806    AssertLogRelMsgReturn(pReg->fFlags & PDM_DEVREG_FLAGS_NEW_STYLE /* the flag is required now */,
     807                          ("PDM_DEVREG_FLAGS_NEW_STYLE not set for szName=%s!\n", pReg->szName),
     808                          VERR_PDM_INVALID_DEVICE_REGISTRATION);
    806809
    807810    /*
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