kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Standardize kvm exit reason field
@ 2019-12-12  2:45 Gavin Shan
  2020-01-18 19:16 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Gavin Shan @ 2019-12-12  2:45 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, rkrcmar, paulus, maz, jhogan, drjones, vkuznets, gshan

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(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/3] Standardize kvm exit reason field
  2019-12-12  2:45 [PATCH 0/3] Standardize kvm exit reason field Gavin Shan
@ 2020-01-18 19:16 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-01-18 19:16 UTC (permalink / raw)
  To: Gavin Shan, kvm; +Cc: rkrcmar, paulus, maz, jhogan, drjones, vkuznets

On 12/12/19 03:45, Gavin Shan wrote:
> 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(-)
> 

Queued, thanks (patches 1-2).

Paolo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-18 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12  2:45 [PATCH 0/3] Standardize kvm exit reason field Gavin Shan
2020-01-18 19:16 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).