Received: from [140.186.70.92] (port=58083 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJtPg-00036K-OQ for qemu-devel@nongnu.org; Wed, 02 Jun 2010 15:15:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJtPe-0007ik-2b for qemu-devel@nongnu.org; Wed, 02 Jun 2010 15:15:40 -0400 Received: from adelie.canonical.com ([91.189.90.139]:55232) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJtPd-0007gZ-Qc for qemu-devel@nongnu.org; Wed, 02 Jun 2010 15:15:37 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJtPb-0004Ls-Nf for ; Wed, 02 Jun 2010 20:15:36 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 214DD2E80AE for ; Wed, 2 Jun 2010 20:15:33 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 19:07:15 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20100422184526.26402.29988.malonedeb@wampee.canonical.com> Message-Id: <20100602190715.10895.78991.malone@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 568614] Re: x86_64 host curses interface: spacing/garbling Reply-To: Bug 568614 <568614@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch should address the problem. I've submitted it to qemu-devel. ** Patch added: "0001-Fix-console_write_ch-on-64-bit-big-endian-hosts.patch" http://launchpadlibrarian.net/49569832/0001-Fix-console_write_ch-on-64-b= it-big-endian-hosts.patch ** Changed in: qemu Status: New =3D> In Progress -- = x86_64 host curses interface: spacing/garbling https://bugs.launchpad.net/bugs/568614 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: In Progress Bug description: Environment: Arch Linux x86_64, kernel 2.6.33, qemu 0.12.3 Steps to reproduce: 1. Have a host system running 64-bit Linux. 2. Start a qemu VM with the -curses flag. Expected results: Text displayed looks as it would on a real text-mode display, and VM is the= refore usable. Actual results: Text displayed contains an extra space between characters, causing text to = flow off the right and bottom sides of the screen. This makes the curses in= terface unintelligible. The attached patch fixes this problem on 0.12.3 on my installation without = changing behavior on a 32-bit machine. I don't know enough of the semantic= s of console_ch_t to know if this is the "correct" fix or if there should b= e, say, an extra cast somewhere instead.