VirtualBox

Changeset 49092 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Oct 14, 2013 10:01:16 PM (11 years ago)
Author:
vboxsync
Message:

VUSB,EHCI,OHCI: Add a method to query whether a device is emulated or not. Required for working saved states when using the MSD device

File:
1 edited

Legend:

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

    r48986 r49092  
    227227                    ("Invalid name '%.s'\n", sizeof(pReg->szName), pReg->szName),
    228228                    VERR_PDM_INVALID_USB_REGISTRATION);
    229     AssertMsgReturn((pReg->fFlags & ~(PDM_USBREG_HIGHSPEED_CAPABLE)) == 0,
     229    AssertMsgReturn((pReg->fFlags & ~(PDM_USBREG_HIGHSPEED_CAPABLE | PDM_USBREG_EMULATED_DEVICE)) == 0,
    230230                    ("fFlags=%#x\n", pReg->fFlags), VERR_PDM_INVALID_USB_REGISTRATION);
    231231    AssertMsgReturn(pReg->cMaxInstances > 0,
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