Changeset 31331 in vbox for trunk/src/VBox/VMM/VM.cpp
- Timestamp:
- Aug 3, 2010 12:22:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r31326 r31331 4104 4104 } 4105 4105 4106 4107 /** 4108 * Changes the VCPU priority. 4109 * 4110 * @returns VBox status code. 4111 * @param pVM The VM to operate on. 4112 * @param ulCpuPriority New CPU priority 4113 */ 4114 VMMR3DECL(int) VMR3SetCpuPriority(PVM pVM, unsigned ulCpuPriority) 4115 { 4116 AssertReturn(ulCpuPriority > 0 && ulCpuPriority <= 100, VERR_INVALID_PARAMETER); 4117 /* Note: not called from EMT. */ 4118 pVM->uCpuPriority = ulCpuPriority; 4119 return VINF_SUCCESS; 4120 }
Note:
See TracChangeset
for help on using the changeset viewer.