Message ID | 1403472217-22263-34-git-send-email-agraf@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 6757c47..380ed70 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c @@ -85,10 +85,6 @@ bool kvmppc_critical_section(struct kvm_vcpu *vcpu) static bool kvmppc_needs_emulation(struct kvm_vcpu *vcpu) { - /* XXX disable emulation for now, until we implemented everything */ - if (true) - return false; - /* We're in a critical section, but an interrupt is pending */ if (kvmppc_critical_section(vcpu) && kvmppc_crit_inhibited_irq_pending(vcpu))
Now that we have all the bits in place to properly emulate all code that we should ever encounter in (Linux based guests') critical sections, let's arm the code to put us into emulation mode when we see it. Signed-off-by: Alexander Graf <agraf@suse.de> --- arch/powerpc/kvm/powerpc.c | 4 ---- 1 file changed, 4 deletions(-)