From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pde8f-0005TC-Hm for qemu-devel@nongnu.org; Fri, 14 Jan 2011 02:32:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pde8d-0000Yg-Gm for qemu-devel@nongnu.org; Fri, 14 Jan 2011 02:32:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pde8d-0000XH-A8 for qemu-devel@nongnu.org; Fri, 14 Jan 2011 02:31:59 -0500 Message-ID: <4D2FFBE7.407@redhat.com> Date: Fri, 14 Jan 2011 08:31:51 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1294900477-23722-1-git-send-email-daahern@cisco.com> <1294900477-23722-7-git-send-email-daahern@cisco.com> <4D2F3029.4040601@redhat.com> <4D2F3634.9040804@cisco.com> In-Reply-To: <4D2F3634.9040804@cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_ISA=n List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Ahern , qemu-devel On 01/13/2011 06:28 PM, David Ahern wrote: >>> @@ -1087,8 +1087,10 @@ void pc_vga_init(PCIBus *pci_bus) >>> } else if (std_vga_enabled) { >>> if (pci_bus) { >>> pci_vga_init(pci_bus); >>> +#ifdef CONFIG_VGA_ISA >>> } else { >>> isa_vga_init(); >>> +#endif >> >> Should this be an abort for #ifndef CONFIG_VGA_ISA? And maybe the isapc >> machine should be disabled altogether? >> >> Paolo > > If that's desired I can change that to: > > #ifdef CONFIG_VGA_ISA > } else { > isa_vga_init(); > #else > abort(); > #endif Please check if you can trigger the abort via -M isapc (I think so, but I'm not sure). If I am correct, the better solution is to disable isapc. Paolo