From patchwork Thu Dec 17 12:06:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 41308 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1B054B6EF2 for ; Thu, 17 Dec 2009 23:10:01 +1100 (EST) Received: from localhost ([127.0.0.1]:35364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLFB8-0008KW-4l for incoming@patchwork.ozlabs.org; Thu, 17 Dec 2009 07:09:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLF7a-0006ZE-Dc for qemu-devel@nongnu.org; Thu, 17 Dec 2009 07:06:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLF7V-0006UB-Il for qemu-devel@nongnu.org; Thu, 17 Dec 2009 07:06:17 -0500 Received: from [199.232.76.173] (port=34399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLF7V-0006TQ-3O for qemu-devel@nongnu.org; Thu, 17 Dec 2009 07:06:13 -0500 Received: from cantor2.suse.de ([195.135.220.15]:41009 helo=mx2.suse.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLF7S-0004yh-To for qemu-devel@nongnu.org; Thu, 17 Dec 2009 07:06:11 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id D14B687D82; Thu, 17 Dec 2009 13:06:09 +0100 (CET) From: Alexander Graf To: qemu-devel@nongnu.org Date: Thu, 17 Dec 2009 13:06:08 +0100 Message-Id: <1261051569-7503-3-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1261051569-7503-1-git-send-email-agraf@suse.de> References: <1261051569-7503-1-git-send-email-agraf@suse.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 2/3] add default virtcon initialization X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org When going through the default devices, we don't initialize the virtio console, unless we're doing -nographic. I suppose that's just a leftover from the recent code restructuring, so let's put it in. Signed-off-by: Alexander Graf --- vl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index c0d98f5..4973512 100644 --- a/vl.c +++ b/vl.c @@ -5712,6 +5712,8 @@ int main(int argc, char **argv, char **envp) add_device_config(DEV_PARALLEL, "vc:80Cx24C"); if (default_monitor) monitor_parse("vc:80Cx24C", "readline"); + if (default_virtcon) + add_device_config(DEV_VIRTCON, "vc:80Cx24C"); } if (default_vga) vga_interface_type = VGA_CIRRUS;