diff options
author | 2021-04-21 19:21:26 -0700 | |
---|---|---|
committer | 2021-04-26 05:27:12 -0400 | |
commit | 6b48fd4cb206485c357420d91ea766ef81b20dc3 (patch) | |
tree | 0b659aa59f2b32e3b336e1601d08671b6461d218 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit (diff) | |
download | linux-dev-6b48fd4cb206485c357420d91ea766ef81b20dc3.tar.xz linux-dev-6b48fd4cb206485c357420d91ea766ef81b20dc3.zip |
KVM: x86/xen: Drop RAX[63:32] when processing hypercall
Truncate RAX to 32 bits, i.e. consume EAX, when retrieving the hypecall
index for a Xen hypercall. Per Xen documentation[*], the index is EAX
when the vCPU is not in 64-bit mode.
[*] http://xenbits.xenproject.org/docs/sphinx-unstable/guest-guide/x86/hypercall-abi.html
Fixes: 23200b7a30de ("KVM: x86/xen: intercept xen hypercalls if enabled")
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210422022128.3464144-8-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions