diff options
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
-rw-r--r-- | arch/powerpc/kvm/book3s.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 358d5f78311a..6f409c98205c 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c | |||
@@ -702,6 +702,11 @@ static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, unsigned int exit_nr, | |||
702 | return RESUME_GUEST; | 702 | return RESUME_GUEST; |
703 | } | 703 | } |
704 | 704 | ||
705 | /* We already own the ext */ | ||
706 | if (vcpu->arch.guest_owned_ext & msr) { | ||
707 | return RESUME_GUEST; | ||
708 | } | ||
709 | |||
705 | #ifdef DEBUG_EXT | 710 | #ifdef DEBUG_EXT |
706 | printk(KERN_INFO "Loading up ext 0x%lx\n", msr); | 711 | printk(KERN_INFO "Loading up ext 0x%lx\n", msr); |
707 | #endif | 712 | #endif |