From: Avi Kivity Date: Mon, 5 May 2008 11:58:26 +0000 (+0300) Subject: KVM: x86 emulator: fix writes to registers with modrm encodings X-Git-Tag: v2.6.26-rc4~122^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107d6d2efa9eb8c48d050936d8019230ac6b24cd;p=pandora-kernel.git KVM: x86 emulator: fix writes to registers with modrm encodings A register destination encoded with a mod=3 encoding left dst.ptr NULL. Normally we don't trap writes to registers, but in the case of smsw, we do. Fix by pointing dst.ptr at the destination register. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed