Skip to content
Commit 07c45a36 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Allow kernel to select size of mmap() buffer



This allows us to store offsets in the kernel/user kvm_run area, and be
sure that userspace has them mapped.  As offsets can be outside the
kvm_run struct, userspace has no way of knowing how much to mmap.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 1961d276
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment