From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH v2] Add an isa device for SGA Date: Fri, 13 May 2011 10:43:33 +0200 Message-ID: References: <1305204913-13321-1-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, aliguori@us.ibm.com, mtosatti@redhat.com, qemu-devel@nongnu.org, avi@redhat.com To: Glauber Costa Return-path: Received: from mx1.redhat.com ([209.132.183.28]:3884 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758107Ab1EMInh (ORCPT ); Fri, 13 May 2011 04:43:37 -0400 In-Reply-To: <1305204913-13321-1-git-send-email-glommer@redhat.com> (Glauber Costa's message of "Thu, 12 May 2011 09:55:13 -0300") Sender: kvm-owner@vger.kernel.org List-ID: Glauber Costa writes: > This patch adds a dummy legacy ISA device whose responsibility is to > deploy sgabios, an option rom for a serial graphics adapter. > The proposal is that this device is always-on when -nographics, > but can otherwise be enable in any setup when -device sga is used. > > [v2: suggestions on qdev by Markus ] One more question: should "-device sga" suppress the default VGA? The other three VGA devices do; check out default_list[] in vl.c. [...] > diff --git a/hw/pc.h b/hw/pc.h > index 1291e2d..a00e054 100644 > --- a/hw/pc.h > +++ b/hw/pc.h > @@ -219,6 +219,9 @@ int isa_vga_mm_init(target_phys_addr_t vram_base, > void pci_cirrus_vga_init(PCIBus *bus); > void isa_cirrus_vga_init(void); > > +/* serial graphics */ > +void isa_sga_init(void); > + No longer exists, please drop. > /* ne2000.c */ > static inline bool isa_ne2000_init(int base, int irq, NICInfo *nd) > { [...]