The CPU usage can be modified in the graphics state, and the command line is invalid.
Posted: 9. Dec 2018, 10:52
图形状态下可以修改CPU占用率,命令行无效
vboxmanage modifyvm "111" --cpuexecutioncap 11
VBoxManage.exe: error: The machine '111' is already locked for a session (or bei
ng unlocked)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at lin
e 523 of file VBoxManageModifyVM.cpp
use gui modi ok
vboxmanage modifyvm "111" --cpuexecutioncap 11
VBoxManage.exe: error: The machine '111' is already locked for a session (or bei
ng unlocked)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at lin
e 523 of file VBoxManageModifyVM.cpp
use gui modi ok