Skip to content
Commit 395c6b0a authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Disable interrupts around get_kernel_ns()



get_kernel_ns() wants preemption disabled.  It doesn't make a lot of sense
during the get/set ioctls (no way to make them non-racy) but the callee wants
it.

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