Changeset 47939 in vbox for trunk/src/VBox
- Timestamp:
- Aug 20, 2013 4:39:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r47828 r47939 1111 1111 break; 1112 1112 1113 1114 /* 1115 * AMD specific MSRs: 1116 */ 1117 case MSR_K8_SYSCFG: /** @todo can be written, but we ignore that for now. */ 1118 *puValue = 0; 1119 if (CPUMGetGuestCpuVendor(pVCpu->CTX_SUFF(pVM)) != CPUMCPUVENDOR_AMD) 1120 { 1121 Log(("MSR %#x is AMD, the virtual CPU isn't an Intel one -> #GP\n", idMsr)); 1122 return VERR_CPUM_RAISE_GP_0; 1123 } 1124 /* ignored */ 1125 break; 1126 1113 1127 default: 1114 1128 /* … … 1334 1348 break; 1335 1349 1350 1336 1351 /* 1337 1352 * Intel specifics MSRs: … … 1352 1367 /* ignored */ 1353 1368 break; 1369 1370 /* 1371 * AMD specific MSRs: 1372 */ 1373 case MSR_K8_SYSCFG: /** @todo can be written, but we ignore that for now. */ 1374 if (CPUMGetGuestCpuVendor(pVCpu->CTX_SUFF(pVM)) != CPUMCPUVENDOR_AMD) 1375 { 1376 Log(("MSR %#x is AMD, the virtual CPU isn't an Intel one -> #GP\n", idMsr)); 1377 return VERR_CPUM_RAISE_GP_0; 1378 } 1379 /* ignored */ 1380 break; 1381 1354 1382 1355 1383 default:
Note:
See TracChangeset
for help on using the changeset viewer.