diff options
author | Aaron Lewis <aaronlewis@google.com> | 2021-02-10 19:50:36 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-02 22:30:53 +0300 |
commit | 6528fc0a11de3d16339cf17639e2f69a68fcaf4d (patch) | |
tree | 9357e74c580d64eabc05c5686fc8cde3c58fe433 /arch/x86/kvm/xen.c | |
parent | 7d2cdad0da9dc0b1eb74c498c155be8c35a49ee6 (diff) | |
download | linux-6528fc0a11de3d16339cf17639e2f69a68fcaf4d.tar.xz |
selftests: kvm: Mmap the entire vcpu mmap area
The vcpu mmap area may consist of more than just the kvm_run struct.
Allocate enough space for the entire vcpu mmap area. Without this, on
x86, the PIO page, for example, will be missing. This is problematic
when dealing with an unhandled exception from the guest as the exception
vector will be incorrectly reported as 0x0.
Message-Id: <20210210165035.3712489-1-aaronlewis@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Co-developed-by: Steve Rutherford <srutherford@google.com>
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/xen.c')
0 files changed, 0 insertions, 0 deletions