Skip to content
Commit 0d551bb6 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Make shadow pte updates atomic



With guest smp, a second vcpu might see partial updates when the first
vcpu services a page fault.  So delay all updates until we have figured
out what the pte should look like.

Note that on i386, this is still not completely atomic as a 64-bit write
will be split into two on a 32-bit machine.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent a18de5a4
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