summaryrefslogtreecommitdiff
path: root/include/linux/livepatch.h
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2019-12-10 15:48:29 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-11 04:34:08 -0800
commitd85e2964a37c7f703b6ff7f95715ecc81356ebaa (patch)
tree667d81dc82ec7da4213f8d7e83ca3de33c72c292 /include/linux/livepatch.h
parent3696eddd45944cfdb11a384e9d2849311d5cbc43 (diff)
tools/kvm_stat: Fix kvm_exit filter name
commit 5fcf3a55a62afb0760ccb6f391d62f20bce4a42f upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/livepatch.h')
0 files changed, 0 insertions, 0 deletions