Sets the value of a machine specific register (MSR) of a vCPU.
On This Page
hv_return_t hv_vcpu_write_msr(hv_vcpuid_t vcpu, uint32_t msr, uint64_t value);
The ID of the vCPU.
The ID of the MSR.
The value to be written.
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.
This function must be called by the owning thread.
Returns, by reference, the current value of a machine specific register (MSR) of a vCPU.