commit | 3427318fd2244737a466a06a93c5fe579852f871 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <Laurent.Vivier@bull.net> | Tue Sep 18 11:27:37 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:52:47 2008 +0200 |
tree | 7c6760dbbdd067498c470e6e4f711e5baeef491c | |
parent | 1be3aa47182e94944e57b176a5c4ee4e74f1ce33 [diff] |
KVM: Call x86_decode_insn() only when needed Move emulate_ctxt to kvm_vcpu to keep emulate context when we exit from kvm module. Call x86_decode_insn() only when needed. Modify x86_emulate_insn() to not modify the context if it must be re-entered. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>