From: Takuya Yoshikawa Date: Mon, 1 Feb 2010 13:11:52 +0000 (+0900) Subject: KVM: fix kvm_fix_hypercall() to return X86EMUL_* X-Git-Tag: v2.6.34-rc1~193^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7edcface95c6e593faa40c70e0464500515db573;p=pandora-kernel.git KVM: fix kvm_fix_hypercall() to return X86EMUL_* This patch fixes kvm_fix_hypercall() to propagate X86EMUL_* info generated by emulator_write_emulated() to its callers: suggested by Marcelo. The effect of this is x86_emulate_insn() will begin to handle the page faults which occur in emulator_write_emulated(): this should be OK because emulator_write_emulated_onepage() always injects page fault when emulator_write_emulated() returns X86EMUL_PROPAGATE_FAULT. Signed-off-by: Takuya Yoshikawa Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed