[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 17/20] qemu-char: move text console init to cons
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH 17/20] qemu-char: move text console init to console.c |
Date: |
Wed, 13 Mar 2013 12:19:30 -0500 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Amit Shah <address@hidden> writes:
> From: Anthony Liguori <address@hidden>
>
> Signed-off-by: Anthony Liguori <address@hidden>
> Signed-off-by: Amit Shah <address@hidden>
This patch broke vc switching in GTK.
> ---
> qemu-char.c | 1 -
> ui/console.c | 7 +++++++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/qemu-char.c b/qemu-char.c
> index cf02cab..b82d643 100644
> --- a/qemu-char.c
> +++ b/qemu-char.c
> @@ -3663,7 +3663,6 @@ static void register_types(void)
> register_char_driver("null", qemu_chr_open_null);
> register_char_driver("socket", qemu_chr_open_socket);
> register_char_driver("udp", qemu_chr_open_udp);
> - register_char_driver("vc", vc_init);
> register_char_driver("memory", qemu_chr_open_ringbuf);
> #ifdef _WIN32
> register_char_driver("file", qemu_chr_open_win_file_out);
> diff --git a/ui/console.c b/ui/console.c
> index 0d95f32..83a6fa3 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);
This should be:
register_char_driver("vc", vc_init);
Patch on the way...
Regards,
Anthony Liguori
> +}
> +
> +type_init(register_types);
> --
> 1.8.1.2
- [Qemu-devel] [PATCH 08/20] qemu-char: add watch support, (continued)
- [Qemu-devel] [PATCH 08/20] qemu-char: add watch support, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 09/20] qemu-char: add pty watch, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 10/20] char: add gio watch fn for tcp backends, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 11/20] qemu-char: use a glib timeout instead of qemu-timer, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 12/20] qemu-char: remove use of QEMUTimer in favor of glib idle function, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 13/20] qemu-char: make char drivers dynamically registerable, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 14/20] qemu-char: move spice registration to spice-qemu-char.c, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 15/20] qemu-char: move baum registration to baum.c, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 16/20] qemu-char: move msmouse registeration to msmouse.c, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 17/20] qemu-char: move text console init to console.c, Amit Shah, 2013/03/05
- Re: [Qemu-devel] [PATCH 17/20] qemu-char: move text console init to console.c,
Anthony Liguori <=
- [Qemu-devel] [PATCH 18/20] serial: add flow control to transmit, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 19/20] virtio: console: add flow control, Amit Shah, 2013/03/05
- [Qemu-devel] [PATCH 20/20] virtio-serial: make flow control explicit in virtio-console, Amit Shah, 2013/03/05
- Re: [Qemu-devel] [PATCH 00/20] chardev flow control, Anthony Liguori, 2013/03/11