xenfb: Fix graphic_console_init() build failure
PATCH 1/1 xenfb: Fix graphic_console_init() build failure
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.
--- hw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/xenfb.c +1 -1
@@ -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 */
Signature · 1 line
1.8.4.5
I just found the same thing:
http://lists.xen.org/archives/html/xen-devel/2014-03/msg00678.html
So you can add my:
-Don Slutz
Quoted 23 lines · 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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- hw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/display/xenfb.c +1
-1@@ -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 */
Am 07.03.2014 22:42, schrieb Andreas Färber:
Quoted 16 lines
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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- hw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/display/xenfb.c +0
-0
hw/display/xenfb.c wait_more: · line 998
Quoted 8 lines
hw/display/xenfb.c +1
-1@@ -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.
Peter Maydell
AppliedQuoted 6 lines · 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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>
Applied to master, thanks. I've installed the xen dev libraries on my build box, so I should be able to catch xen build failures in future.
-- PMM