From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46102 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4GwV-0003hM-QN for qemu-devel@nongnu.org; Fri, 08 Oct 2010 13:41:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4GkK-0003Xz-30 for qemu-devel@nongnu.org; Fri, 08 Oct 2010 13:28:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4GkJ-0003Xq-Sf for qemu-devel@nongnu.org; Fri, 08 Oct 2010 13:28:40 -0400 Message-ID: <4CAF54C2.90206@redhat.com> Date: Fri, 08 Oct 2010 19:28:34 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4CAD7670.10808@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel , Alexander Graf On 10/07/2010 07:24 PM, Blue Swirl wrote: >> > On 10/06/2010 11:32 PM, Blue Swirl wrote: >>> >> >>> >> @@ -91,8 +90,6 @@ static int vga_osi_call (CPUState *env) >>> >> env->gpr[3] = 0; >>> >> break; >>> >> case 39: /* video_ctrl */ >>> >> - if (env->gpr[6] == 0 || env->gpr[6] == 1) >>> >> - vga_vbl_enabled = env->gpr[6]; >>> >> env->gpr[3] = 0; >>> >> break; >>> >> case 47: >> > >> > NACK, this smells like an incomplete emulation. > Why would we care about unfinished temporary Mac-on-Linux hack for > video.x? Perhaps the correct fix is to remove vga_osi_call function > and env->osi_call field entirely. CCing the person who could answer. Paolo