From: Avi Kivity Date: Sat, 15 Sep 2007 14:34:36 +0000 (+0300) Subject: KVM: Skip pio instruction when it is emulated, not executed X-Git-Tag: v2.6.24-rc1~1365^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0967b7bf1c22b55777aba46ff616547feed0b141;p=pandora-kernel.git KVM: Skip pio instruction when it is emulated, not executed If we defer updating rip until pio instructions are executed, we have a problem with reset: a pio reset updates rip, and when the instruction completes we skip the emulated instruction, pointing rip somewhere completely unrelated. Fix by updating rip when we see decode the instruction, not after emulation. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed