- Timestamp:
- Jul 28, 2016 9:16:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/GIMHv.cpp
r62641 r62642 223 223 rc = CFGMR3QueryStringDef(pCfgHv, "VendorID", szVendor, sizeof(szVendor), "VBoxVBoxVBox"); 224 224 AssertLogRelRCReturn(rc, rc); 225 AssertLogRelMsgReturn(strlen(szVendor) == 12, 226 ("The VendorID config value must be exactly 12 chars, '%s' isn't!\n", szVendor), 227 VERR_INVALID_PARAMETER); 225 228 226 229 LogRel(("GIM: HyperV: Reporting vendor as '%s'\n", szVendor)); 230 /** @todo r=bird: GIM_HV_VENDOR_MICROSOFT is 12 char and the string is max 231 * 12+terminator, so the NCmp is a little bit misleading. */ 227 232 if (!RTStrNCmp(szVendor, GIM_HV_VENDOR_MICROSOFT, sizeof(GIM_HV_VENDOR_MICROSOFT) - 1)) 228 233 {
Note:
See TracChangeset
for help on using the changeset viewer.