KVM: SVM: don't run into endless loop in nested svm

With the emulation optimization after clgi, we can potentially
run into an endless loop thanks to while(true).

While this should never occur in practise, except for when
the emulation is broken or really awkward code is executed in
the VM, this wasn't a problem so far.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
1 file changed