Skip to content

Commit c834607

Browse files
Gautam Menghanimaddy-kerneldev
authored andcommitted
KVM: PPC: Book3S HV: Add H_VIRT mapping for tracing exits
The macro kvm_trace_symbol_exit is used for providing the mappings for the trap vectors and their names. Add mapping for H_VIRT so that trap reason is displayed as string instead of a vector number when using the kvm_guest_exit tracepoint. Signed-off-by: Gautam Menghani <[email protected]> Reviewed-by: Ritesh Harjani (IBM) <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 52d4639 commit c834607

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/kvm/trace_book3s.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
{0xe00, "H_DATA_STORAGE"}, \
2626
{0xe20, "H_INST_STORAGE"}, \
2727
{0xe40, "H_EMUL_ASSIST"}, \
28+
{0xea0, "H_VIRT"}, \
2829
{0xf00, "PERFMON"}, \
2930
{0xf20, "ALTIVEC"}, \
3031
{0xf40, "VSX"}

0 commit comments

Comments
 (0)