From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 9/9] KVM: x86: smsw emulation is incorrect in 64-bit mode Date: Thu, 05 Jun 2014 16:53:27 +0200 Message-ID: <53908467.8030100@redhat.com> References: <1401723251-8034-1-git-send-email-namit@cs.technion.ac.il> <1401723251-8034-10-git-send-email-namit@cs.technion.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gleb@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Nadav Amit Return-path: In-Reply-To: <1401723251-8034-10-git-send-email-namit@cs.technion.ac.il> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 02/06/2014 17:34, Nadav Amit ha scritto: > In 64-bit mode, when the destination is a register, the assignment is done > according to the operand size. Otherwise (memory operand or no 64-bit mode), a > 16-bit assignment is performed. I'm sorry, I'm missing the place where 64-bit mode is taken into account? Paolo