From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net
Subject: [Qemu-devel] [PATCH 2/3] add default virtcon initialization
Date: Thu, 17 Dec 2009 13:06:08 +0100 [thread overview]
Message-ID: <1261051569-7503-3-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1261051569-7503-1-git-send-email-agraf@suse.de>
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 <agraf@suse.de>
---
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;
--
1.6.0.2
next prev parent reply other threads:[~2009-12-17 12:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 12:06 [Qemu-devel] [PATCH 0/3] (0.12) S390 patches Alexander Graf
2009-12-17 12:06 ` [Qemu-devel] [PATCH 1/3] S390: Loop through virtio console devices Alexander Graf
2009-12-17 12:06 ` Alexander Graf [this message]
2009-12-17 12:06 ` [Qemu-devel] [PATCH 3/3] S390: Don't tell guest we're updating config space Alexander Graf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1261051569-7503-3-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).