summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2019-12-10 15:48:29 +1100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-23 09:51:06 +0100
commit5fcf3a55a62afb0760ccb6f391d62f20bce4a42f (patch)
tree9bbbe56779358a6aa5bdc6db988ffcd2453a7d3a /Makefile
parent56871d444bc4d7ea66708775e62e2e0926384dbc (diff)
downloadlinux-stable-5fcf3a55a62afb0760ccb6f391d62f20bce4a42f.tar.gz
linux-stable-5fcf3a55a62afb0760ccb6f391d62f20bce4a42f.tar.bz2
linux-stable-5fcf3a55a62afb0760ccb6f391d62f20bce4a42f.zip
tools/kvm_stat: Fix kvm_exit filter name
The filter name is fixed to "exit_reason" for some kvm_exit events, no matter what architect we have. Actually, the filter name ("exit_reason") is only applicable to x86, meaning it's broken on other architects including aarch64. This fixes the issue by providing various kvm_exit filter names, depending on architect we're on. Afterwards, the variable filter name is picked and applied through ioctl(fd, SET_FILTER). Reported-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Gavin Shan <gshan@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions