KVM: PPC: Only WARN on invalid emulation
authorAlexander Graf <agraf@suse.de>
Fri, 14 Dec 2012 22:46:03 +0000 (23:46 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 10 Jan 2013 12:15:08 +0000 (13:15 +0100)
commit5a33169ed29060df71627103e6968078b42de945
tree7ca052a6310534eb5ae87d1cb2b92a59a64291cf
parent68e2ffed358c92341c126e606b500098fc72f5f7
KVM: PPC: Only WARN on invalid emulation

When we hit an emulation result that we didn't expect, that is an error,
but it's nothing that warrants a BUG(), because it can be guest triggered.

So instead, let's only WARN() the user that this happened.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/powerpc.c