KVM: Use the generic skip_emulated_instruction() in hypercall code
authorDor Laor <dor.laor@qumranet.com>
Mon, 19 Feb 2007 16:25:43 +0000 (18:25 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:22 +0000 (10:52 +0300)
commit510043da8582ad49d22a1e9a6b211e6ede10cd2e
tree0ded38e3d2fb77d02c59a6afce464d15d75e1cca
parent9b22bf578332d3e326c349bc8a8789af3d952435
KVM: Use the generic skip_emulated_instruction() in hypercall code

Instead of twiddling the rip registers directly, use the
skip_emulated_instruction() function to do that for us.

Signed-off-by: Dor Laor <dor.laor@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c
drivers/kvm/vmx.c