Commit 4ececec
committed
KVM: x86/mmu: Replace PFERR_NESTED_GUEST_PAGE with a more descriptive helper
Drop the globally visible PFERR_NESTED_GUEST_PAGE and replace it with a
more appropriately named is_write_to_guest_page_table(). The macro name
is misleading, because while all nNPT walks match PAGE|WRITE|PRESENT, the
reverse is not true.
No functional change intended.
Link: https://lore.kernel.org/r/20240831001538.336683-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 1dc9cc1 commit 4ececec
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 283 | | |
288 | 284 | | |
289 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5945 | 5945 | | |
5946 | 5946 | | |
5947 | 5947 | | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
| 5951 | + | |
| 5952 | + | |
| 5953 | + | |
| 5954 | + | |
5948 | 5955 | | |
5949 | 5956 | | |
5950 | 5957 | | |
| |||
6008 | 6015 | | |
6009 | 6016 | | |
6010 | 6017 | | |
6011 | | - | |
| 6018 | + | |
6012 | 6019 | | |
6013 | 6020 | | |
6014 | 6021 | | |
| |||
0 commit comments