From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsBUC-000159-RE for qemu-devel@nongnu.org; Tue, 31 Jan 2012 06:02:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsBU7-0006rl-1O for qemu-devel@nongnu.org; Tue, 31 Jan 2012 06:02:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsBU6-0006rf-Pq for qemu-devel@nongnu.org; Tue, 31 Jan 2012 06:02:47 -0500 Message-ID: <4F27CAAE.8070602@redhat.com> Date: Tue, 31 Jan 2012 12:04:14 +0100 From: Laszlo Ersek MIME-Version: 1.0 References: <4F27B5AD.9050709@redhat.com> <4F27D232020000780007012B@nat28.tlf.novell.com> In-Reply-To: <4F27D232020000780007012B@nat28.tlf.novell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Xen-devel] qemu(-dm): aborting on wrong mmio size? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Beulich Cc: Miroslav Rezanina , "xen-devel@lists.xensource.com" , Petr Matousek , qemu-devel@nongnu.org On 01/31/12 11:36, Jan Beulich wrote: >>>> On 31.01.12 at 10:34, Laszlo Ersek wrote: >> Is it justified to kill the emulator when this happens (eg. memory >> mapped IO with 64-bit operand)? > The AMD manual specifies that REX.W is ignored; the Intel manual > doesn't mention REX at all here. However, if a decoder incorrectly > decodes the guest instruction, that's a bug there. So imo qemu > validly treats this condition as fatal. From the Itanium(R) SDM rev 2.3, 10.7.2.1 I/O Port Addressing Restrictions For the 64MB physical I/O port block the following operations are undefined and may result in unpredictable processor operation; references larger than 4-bytes, [...] It seems that not only a decoding failure can trigger this. Laszlo