Skip to contentSkip to conversation

Standardize kvm exit reason field

PATCH Applied Gavin Shan 2 participants 2 messages Dec 12, 2019 – Jan 18, 2020 KVM

lore
Share & tools
lore

Gavin Shan

author
#0 lore raw

cover Standardize kvm exit reason field

Some utilities (e.g. kvm_stat) have the assumption that same filter field "exit_reason" for kvm exit tracepoint. However, they're varied on different architects. It can be fixed for the utilities to pick different filter names, or standardize it to have unified name "exit_reason", The series takes the second approach, suggested by Vitaly Kuznetsov.

I'm not sure which git tree this will go, so I have one separate patch for each architect in case they are merged to different git tree.

Gavin Shan (3):
kvm/mips: Standardize kvm exit reason field
kvm/powerpc: Standardize kvm exit reason field
kvm/aarch64: Standardize kvm exit reason field

 arch/mips/kvm/trace.h          | 10 +++++-----
 arch/powerpc/kvm/trace_booke.h | 10 +++++-----
 arch/powerpc/kvm/trace_pr.h    | 10 +++++-----
 virt/kvm/arm/trace.h           | 14 ++++++++------
 4 files changed, 23 insertions(+), 21 deletions(-)
Signature · 1 line
2.23.0
maintainer Applied
#1 lore raw
Quoted 14 lines · Gavin Shan

Some utilities (e.g. kvm_stat) have the assumption that same filter field "exit_reason" for kvm exit tracepoint. However, they're varied on different architects. It can be fixed for the utilities to pick different filter names, or standardize it to have unified name "exit_reason", The series takes the second approach, suggested by Vitaly Kuznetsov.

I'm not sure which git tree this will go, so I have one separate patch for each architect in case they are merged to different git tree.

Gavin Shan (3):
kvm/mips: Standardize kvm exit reason field
kvm/powerpc: Standardize kvm exit reason field
kvm/aarch64: Standardize kvm exit reason field

Quoted 6 lines
 arch/mips/kvm/trace.h          | 10 +++++-----
 arch/powerpc/kvm/trace_booke.h | 10 +++++-----
 arch/powerpc/kvm/trace_pr.h    | 10 +++++-----
 virt/kvm/arm/trace.h           | 14 ++++++++------
 4 files changed, 23 insertions(+), 21 deletions(-)

Queued, thanks (patches 1-2).

Paolo