Changeset 66045 in vbox
- Timestamp:
- Mar 10, 2017 4:57:15 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r66044 r66045 193 193 pCtx->hwvirt.svm.GCPhysVmcb = GCPhysVmcb; 194 194 195 #if 0 196 SVMVMCB Vmcb; 195 /* 196 * Cache the VMCB controls. 197 */ 197 198 PVM pVM = pVCpu->CTX_SUFF(pVM); 198 //int rc = PGMPhysSimpleReadGCPhys(pVM, &Vmcb, GCPhysVmcb, X86_PAGE_4K_SIZE); 199 int rc = VINF_SUCCESS; 199 int rc = PGMPhysSimpleReadGCPhys(pVM, &pCtx->hwvirt.svm.VmcbCtrl, GCPhysVmcb, sizeof(pCtx->hwvirt.svm.VmcbCtrl)); 200 200 if (RT_SUCCESS(rc)) 201 201 { … … 220 220 221 221 /* 222 * Cache the VMCB controls.223 */224 pCtx->hwvirt.svm.VmcbCtrl = Vmcb.ctrl;225 226 /*227 222 * Validate the VMCB controls. 228 223 */ … … 250 245 251 246 return rc; 252 #endif253 return VERR_NOT_IMPLEMENTED;254 255 247 } 256 248
Note:
See TracChangeset
for help on using the changeset viewer.

