We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513e4dd commit 47892f2Copy full SHA for 47892f2
drivers/hv/mshv_vtl_main.c
@@ -1575,7 +1575,7 @@ static bool mshv_snp_try_handle_exit(struct mshv_vtl_run *run)
1575
/* The guest indicates it's idle by reading this synthetic MSR. */
1576
vmsa->rax = 0;
1577
vmsa->rdx = 0;
1578
- vmsa->rip = vmsa->guest_nrip;
+ vmsa->rip += 2; /* vmsa->guest_nrip might not be available although here it should be. */
1579
1580
run->offload_flags |= MSHV_VTL_OFFLOAD_FLAG_HALT_IDLE;
1581
run->flags |= MSHV_VTL_RUN_FLAG_HALTED;
0 commit comments