Commit 80989e8
Jinrong Liang
KVM: x86/PVM: Enhance exit reason handling for PVM hypercalls
Improve the handling of exit reasons for PVM hypercalls by adding more
specific exit reasons based on the type of PVM hypercall. This enables
a more fine-grained analysis of the performance and behavior of PVM-based
virtual machines.
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. Providing specific exit reasons for
each of these hypercall types allows for better insights into the
performance characteristics of PVM-based virtual machines and helps
identify potential areas for optimization.
Moreover, this change benefits performance analysis tools, such as perf,
by allowing them to provide more detailed information about the execution
of PVM hypercalls. This improvement helps users gain a better understanding
of the performance bottlenecks in their virtualized environments and make
informed decisions about optimizing their systems.
Signed-off-by: Jinrong Liang <cloudliang@tencent.com>1 parent 819c84c commit 80989e8
1 file changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2424 | 2424 | | |
2425 | 2425 | | |
2426 | 2426 | | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
2427 | 2448 | | |
2428 | 2449 | | |
2429 | 2450 | | |
| |||
2435 | 2456 | | |
2436 | 2457 | | |
2437 | 2458 | | |
2438 | | - | |
| 2459 | + | |
2439 | 2460 | | |
2440 | 2461 | | |
2441 | 2462 | | |
| |||
0 commit comments