From 01f45d986fb0b7c2d4f0466efe3cde9708f325be Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Tue, 5 Mar 2013 23:21:32 +0530 Subject: qemu-char: move text console init to console.c Signed-off-by: Anthony Liguori Signed-off-by: Amit Shah Message-id: 17cefde0a8d7807294bab95e93c3328a20d3f2ed.1362505276.git.amit.shah@redhat.com Signed-off-by: Anthony Liguori --- ui/console.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ui/console.c') diff --git a/ui/console.c b/ui/console.c index 0d95f32123..83a6fa3969 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1739,3 +1739,10 @@ PixelFormat qemu_default_pixelformat(int bpp) } return pf; } + +static void register_types(void) +{ + register_char_driver("vc", text_console_init); +} + +type_init(register_types); -- cgit 1.4.1