Commit a6a0b05
kvm: x86/mmu: Support dirty logging for the TDP MMU
Dirty logging is a key feature of the KVM MMU and must be supported by
the TDP MMU. Add support for both the write protection and PML dirty
logging modes.
Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell
machine. This series introduced no new failures.
This series can be viewed in Gerrit at:
https://linux-review.googlesource.com/c/virt/kvm/kvm/+/2538
Signed-off-by: Ben Gardon <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>1 parent 1d8dd6b commit a6a0b05
File tree
6 files changed
+328
-9
lines changed- arch/x86/kvm/mmu
- include/linux
- virt/kvm
6 files changed
+328
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1226 | 1229 | | |
1227 | 1230 | | |
1228 | 1231 | | |
| |||
1249 | 1252 | | |
1250 | 1253 | | |
1251 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1252 | 1258 | | |
1253 | 1259 | | |
1254 | 1260 | | |
| |||
5473 | 5479 | | |
5474 | 5480 | | |
5475 | 5481 | | |
| 5482 | + | |
| 5483 | + | |
5476 | 5484 | | |
5477 | 5485 | | |
5478 | 5486 | | |
| |||
5561 | 5569 | | |
5562 | 5570 | | |
5563 | 5571 | | |
| 5572 | + | |
| 5573 | + | |
5564 | 5574 | | |
5565 | 5575 | | |
5566 | 5576 | | |
| |||
5582 | 5592 | | |
5583 | 5593 | | |
5584 | 5594 | | |
| 5595 | + | |
| 5596 | + | |
5585 | 5597 | | |
5586 | 5598 | | |
5587 | 5599 | | |
| |||
5596 | 5608 | | |
5597 | 5609 | | |
5598 | 5610 | | |
| 5611 | + | |
| 5612 | + | |
5599 | 5613 | | |
5600 | 5614 | | |
5601 | 5615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments