[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH buildfix] xenfb: Fix graphic_console_init() buil
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH buildfix] xenfb: Fix graphic_console_init() build failure |
Date: |
Sat, 08 Mar 2014 07:47:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Am 07.03.2014 22:42, schrieb Andreas Färber:
> In commit 5643706a095044d75df1c0588aac553a595b972b (console: add head
> to index to qemu consoles.) graphic_console_init() was extended to take
> an additional argument, but xenfb was not updated accordingly. Fix it.
>
> Cc: Gerd Hoffmann <address@hidden>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> hw/display/xenfb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c
> index cb9d456..032eb7a 100644
> --- a/hw/display/xenfb.c
> +++ b/hw/display/xenfb.c
> @@ -992,7 +992,7 @@ wait_more:
>
> /* vfb */
> fb = container_of(xfb, struct XenFB, c.xendev);
> - fb->c.con = graphic_console_init(NULL, &xenfb_ops, fb);
> + fb->c.con = graphic_console_init(NULL, 0, &xenfb_ops, fb);
> fb->have_console = 1;
>
> /* vkbd */
>
Same problem here. There is also a 2nd call of that function in the same
file, but it is currently disabled by #if 0...#endif.
Reviewed-by: Stefan Weil <address@hidden>