Repository navigation
Commit fd88dcb
committed
virt_mshv_vtl: preserve CR2 when injecting TDX page faults
Copy the pending exception's fault address to the runner's shared CR2
state before injecting a page fault. Leave CR2 unchanged for other
exceptions so descriptor operand faults reach the guest with the correct
faulting linear address.1 parent bca5cfb commit fd88dcb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
678 | 682 | | |
679 | 683 | | |
680 | 684 | | |
| |||
0 commit comments