From: Gleb Natapov Date: Thu, 18 Mar 2010 13:20:26 +0000 (+0200) Subject: KVM: x86 emulator: restart string instruction without going back to a guest. X-Git-Tag: v2.6.35-rc1~436^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd21917da245fbe98bd443de2c7f519b3df6814;p=pandora-kernel.git KVM: x86 emulator: restart string instruction without going back to a guest. Currently when string instruction is only partially complete we go back to a guest mode, guest tries to reexecute instruction and exits again and at this point emulation continues. Avoid all of this by restarting instruction without going back to a guest mode, but return to a guest mode each 1024 iterations to allow interrupt injection. Pending exception causes immediate guest entry too. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed