Received: from eggs.gnu.org ([140.186.70.92]:41108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFsi6-0005Fu-Tx for qemu-devel@nongnu.org; Fri, 29 Apr 2011 14:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFsi5-0004PY-Mv for qemu-devel@nongnu.org; Fri, 29 Apr 2011 14:46:38 -0400 Received: from adelie.canonical.com ([91.189.90.139]:43364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFsi5-0004PL-Ip for qemu-devel@nongnu.org; Fri, 29 Apr 2011 14:46:37 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QFsi2-0001Ib-TE for ; Fri, 29 Apr 2011 18:46:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6D4852E8A8F for ; Fri, 29 Apr 2011 18:46:13 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 29 Apr 2011 18:38:50 -0000 From: "Devin J. Pohly" <568614@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100422184526.26402.29988.malonedeb@wampee.canonical.com> Message-Id: <20110429183850.28344.44813.malone@wampee.canonical.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I just compiled from git and the problem persists. I will reiterate that the issue appears to be with the word size of the types used, not with endianness; see comment 4. I have not dug any further into the QEMU code to see if I find a more "correct-looking" solution than the quick patch I have attached to this bug. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/568614 Title: x86_64 host curses interface: spacing/garbling 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 t= herefore usable. Actual results: Text displayed contains an extra space between characters, causing text t= o flow off the right and bottom sides of the screen. This makes the curses = interface 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 semantics of console_ch_t to know if this is the "correct" fix or if there should be, say, an extra cast somewhere instead.