From: Takuya Yoshikawa Date: Sat, 30 Jul 2011 09:00:17 +0000 (+0900) Subject: KVM: x86 emulator: Use ctxt->_eip directly in do_insn_fetch_byte() X-Git-Tag: v3.2-rc1~119^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807941b121cf77e70eec8db308b8c1f496cc79e9;p=pandora-kernel.git KVM: x86 emulator: Use ctxt->_eip directly in do_insn_fetch_byte() Instead of passing ctxt->_eip from insn_fetch() call sites, get it from ctxt in do_insn_fetch_byte(). This is done by replacing the argument _eip of insn_fetch() with _ctxt, which should be better than letting the macro use ctxt silently in its body. Though this changes the place where ctxt->_eip is incremented from insn_fetch() to do_insn_fetch_byte(), this does not have any real effect. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- Reading git-diff-tree failed