KVM: x86: clean up reexecute_instruction
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Sun, 13 Jan 2013 15:44:12 +0000 (23:44 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 22 Jan 2013 00:58:31 +0000 (22:58 -0200)
commit22368028febf81f5c6d1e9fdd737d50543219b00
tree0fd7a71978315be229f75226230b5b8e3fc519a5
parenta843fac2536d6d81335d7011dd7ec4e438161dd7
KVM: x86: clean up reexecute_instruction

Little cleanup for reexecute_instruction, also use gpa_to_gfn in
retry_instruction

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c