- Timestamp:
- Nov 22, 2009 4:24:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r24850 r24852 1948 1948 if (uVersion >= CPUM_SAVED_STATE_VERSION_VER3_0) 1949 1949 SSMR3GetMem(pSSM, &pVM->aCpus[i].cpum.s.GuestMsr, sizeof(pVM->aCpus[i].cpum.s.GuestMsr)); 1950 1951 /* 1952 * HACK ALERT! Workaround for missing granularity flag in CS on 1953 * AMD-v. This will cause trouble if the host now 1954 * is using VT-x (teleporting, cold migration). 1955 * May consider moving this into SVM_READ_SELREG or there about. 1956 */ 1957 if ( !pVM->aCpus[i].cpum.s.Guest.csHid.Attr.n.u1Granularity 1958 && pVM->aCpus[i].cpum.s.Guest.csHid.u32Limit > UINT16_MAX) 1959 pVM->aCpus[i].cpum.s.Guest.csHid.Attr.n.u1Granularity = 1; 1950 1960 } 1951 1961 }
Note:
See TracChangeset
for help on using the changeset viewer.