Commit 7443b05
Jinrong Liang
KVM: x86/PVM: Add PVM hypercalls exit reason handling
Add PVM exit reasons for various hypercall scenarios. The
new exit reasons cover various PVM hypercall types, including IRQ_WIN,
IRQ_HALT, LOAD_PGTBL, TLB_FLUSH, TLB_FLUSH_CURRENT, TLB_INVLPG,
LOAD_GS, RDMSR, WRMSR, and LOAD_TLS.
Improve the handling of exit reasons for PVM by adding PVM hypercall
exit reasons. This change benefits performance analysis tools, such as
perf, by allowing them to provide more detailed information about the
execution of PVM hypercalls.
Suggested-by: Like Xu <likexu@tencent.com>
Signed-off-by: Jinrong Liang <cloudliang@tencent.com>1 parent 819c84c commit 7443b05
2 files changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2441 | 2441 | | |
2442 | 2442 | | |
2443 | 2443 | | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
2444 | 2472 | | |
2445 | 2473 | | |
2446 | 2474 | | |
| |||
2459 | 2487 | | |
2460 | 2488 | | |
2461 | 2489 | | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2462 | 2493 | | |
2463 | 2494 | | |
2464 | 2495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
| |||
61 | 72 | | |
62 | 73 | | |
63 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
64 | 85 | | |
65 | 86 | | |
66 | 87 | | |
| |||
0 commit comments