Changeset 107900 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jan 22, 2025 8:04:36 PM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 167124
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r107893 r107900 811 811 return VINF_GVM_MISMATCH_VMCPU_SIZE; 812 812 } 813 if (pReq->uStructVersion != 1)814 { 815 LogRel(("GVMMR0CreateVMReq: uStructVersion=%#x, expcted %#x\n", pReq->uStructVersion, 1));813 if (pReq->uStructVersion != VM_STRUCT_VERSION) 814 { 815 LogRel(("GVMMR0CreateVMReq: uStructVersion=%#x, expcted %#x\n", pReq->uStructVersion, VM_STRUCT_VERSION)); 816 816 return VINF_GVM_MISMATCH_VM_STRUCT_VER; 817 817 } … … 1167 1167 pGVM->cCpusUnsafe = cCpus; 1168 1168 pGVM->uCpuExecutionCap = 100; /* default is no cap. */ 1169 pGVM->uStructVersion = 1;1169 pGVM->uStructVersion = VM_STRUCT_VERSION; 1170 1170 pGVM->cbSelf = sizeof(VM); 1171 1171 pGVM->cbVCpu = sizeof(VMCPU); -
trunk/src/VBox/VMM/VMMR3/GVMMR3.cpp
r107893 r107900 72 72 CreateVMReq.cbVM = sizeof(VM); 73 73 CreateVMReq.cbVCpu = sizeof(VMCPU); 74 CreateVMReq.uStructVersion = 1;74 CreateVMReq.uStructVersion = VM_STRUCT_VERSION; 75 75 CreateVMReq.uSvnRevision = VMMGetSvnRev(); 76 76 CreateVMReq.pVMR0 = NIL_RTR0PTR; … … 109 109 pVM->cbSelf = sizeof(VM); 110 110 pVM->cbVCpu = sizeof(VMCPU); 111 pVM->uStructVersion = 1;111 pVM->uStructVersion = VM_STRUCT_VERSION; 112 112 pVM->enmTarget = enmTarget; 113 113
Note:
See TracChangeset
for help on using the changeset viewer.