Commit ef6485a
committed
fix: use scratch base GPA instead of scratch size in page table walker
The access_gpa and SharedMemoryPageTableBuffer::new functions now take
a scratch_base_gpa (u64) instead of scratch_size (usize). Update the
read_guest_memory_by_gva caller to pass the correct value from
layout.get_scratch_base_gpa().1 parent b961eb1 commit ef6485a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
0 commit comments