From: Takuya Yoshikawa Date: Tue, 12 Apr 2011 15:29:09 +0000 (+0900) Subject: KVM: x86 emulator: Make emulate_push() store the value directly X-Git-Tag: v3.0-rc1~350^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4179bb02fd3e87183e5f698495dfcb80df187889;p=pandora-kernel.git KVM: x86 emulator: Make emulate_push() store the value directly PUSH emulation stores the value by calling writeback() after setting the dst operand appropriately in emulate_push(). This writeback() using dst is not needed at all because we know the target is the stack. So this patch makes emulate_push() call, newly introduced, segmented_write() directly. By this, many inlined writeback()'s are removed. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- Reading git-diff-tree failed