From patchwork Wed May 18 12:30:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 96159 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B95CCB6F6B for ; Wed, 18 May 2011 22:31:10 +1000 (EST) Received: from localhost ([::1]:53830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMfu7-0000MX-PL for incoming@patchwork.ozlabs.org; Wed, 18 May 2011 08:31:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMfts-0000Lg-GZ for qemu-devel@nongnu.org; Wed, 18 May 2011 08:30:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMftr-0007ew-MD for qemu-devel@nongnu.org; Wed, 18 May 2011 08:30:52 -0400 Received: from oxygen.pond.sub.org ([213.239.205.148]:40421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMftr-0007dT-D7 for qemu-devel@nongnu.org; Wed, 18 May 2011 08:30:51 -0400 Received: from blackfin.pond.sub.org (p5B32C37F.dip.t-dialin.net [91.50.195.127]) by oxygen.pond.sub.org (Postfix) with ESMTPA id 4FC682DD495 for ; Wed, 18 May 2011 14:30:48 +0200 (CEST) Received: by blackfin.pond.sub.org (Postfix, from userid 500) id C14244C; Wed, 18 May 2011 14:30:47 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Wed, 18 May 2011 14:30:45 +0200 Message-Id: <1305721847-29269-2-git-send-email-armbru@redhat.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1305721847-29269-1-git-send-email-armbru@redhat.com> References: <1305721847-29269-1-git-send-email-armbru@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.239.205.148 Cc: alevy@redhat.com, kraxel@redhat.com Subject: [Qemu-devel] [PATCH 1/3] isa-vga: Make available with -device, like the other VGA qdevs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Switch no_user off and make it suppress the default VGA. Signed-off-by: Markus Armbruster --- hw/vga-isa.c | 1 - vl.c | 1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vga-isa.c b/hw/vga-isa.c index fde0d56..245841f 100644 --- a/hw/vga-isa.c +++ b/hw/vga-isa.c @@ -77,7 +77,6 @@ static ISADeviceInfo vga_info = { .qdev.size = sizeof(ISAVGAState), .qdev.vmsd = &vmstate_vga_common, .qdev.reset = vga_reset_isa, - .qdev.no_user = 1, .init = vga_initfn, }; diff --git a/vl.c b/vl.c index bffba69..9b0577b 100644 --- a/vl.c +++ b/vl.c @@ -286,6 +286,7 @@ static struct { { .driver = "VGA", .flag = &default_vga }, { .driver = "cirrus-vga", .flag = &default_vga }, { .driver = "vmware-svga", .flag = &default_vga }, + { .driver = "isa-vga", .flag = &default_vga }, }; static int default_driver_check(QemuOpts *opts, void *opaque)