Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cuda: fix off-by-one error in SET_TIME command
With the new framework the cuda_cmd_set_time command directly receive the data, without the command byte. Therefore the time is stored at in_data[0], not at in_data[1]. This fixes the "hwclock --systohc" command in a guest. Cc: Hervé Poussineau <[email protected]> Cc: David Gibson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> Reviewed-by: Hervé Poussineau <[email protected]> [this fixes a regression introduced by e647317 "cuda: port SET_TIME command to new framework"] Signed-off-by: David Gibson <[email protected]>
- Loading branch information