浏览代码

Merge branch 'kvm-updates/2.6.38' of git://git.kernel.org/pub/scm/virt/kvm/kvm

* 'kvm-updates/2.6.38' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: SVM: Advance instruction pointer in dr_intercept
Linus Torvalds 14 年之前
父节点
当前提交
86e2fe9ff3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/x86/kvm/svm.c

+ 2 - 0
arch/x86/kvm/svm.c

@@ -2777,6 +2777,8 @@ static int dr_interception(struct vcpu_svm *svm)
 			kvm_register_write(&svm->vcpu, reg, val);
 			kvm_register_write(&svm->vcpu, reg, val);
 	}
 	}
 
 
+	skip_emulated_instruction(&svm->vcpu);
+
 	return 1;
 	return 1;
 }
 }