commit | e9ba39c1f3dff93efddacbd4569ada05633e2a9b | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Feb 16 14:53:04 2012 +0000 |
committer | Avi Kivity <avi@redhat.com> | Sun Apr 08 12:55:14 2012 +0300 |
tree | 06006536ab6f4da04a82e47b593dc20bad8a291d | |
parent | 8a3da55784cf2aea8ef6acdd1f50e5ad52f76574 [diff] |
KVM: PPC: bookehv: disable MAS register updates early We need to make sure that no MAS updates happen automatically while we have the guest MAS registers loaded. So move the disabling code a bit higher up so that it covers the full time we have guest values in MAS registers. The race this patch fixes should never occur, but it makes the code a bit more logical to do it this way around. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>