diff options
author | Oliver Upton <oupton@google.com> | 2021-09-23 22:00:33 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-24 02:32:12 -0400 |
commit | fbf094ce524113c694acabf3d385883f88372829 (patch) | |
tree | faa633f9dd1faa5d1820ae48ad1387528791173c /lib/test_fortify/write_overflow-strcpy.c | |
parent | 6bc6db000295332bae2c1e8815d7450b72923d23 (diff) |
selftests: KVM: Call ucall_init when setting up in rseq_test
While x86 does not require any additional setup to use the ucall
infrastructure, arm64 needs to set up the MMIO address used to signal a
ucall to userspace. rseq_test does not initialize the MMIO address,
resulting in the test spinning indefinitely.
Fix the issue by calling ucall_init() during setup.
Fixes: 61e52f1630f5 ("KVM: selftests: Add a test for KVM_RUN+rseq to detect task migration bugs")
Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20210923220033.4172362-1-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions