KVM: PPC: bookehv: disable MAS register updates early
authorAlexander Graf <agraf@suse.de>
Thu, 16 Feb 2012 14:53:04 +0000 (14:53 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:55:14 +0000 (12:55 +0300)
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>

No differences found