Received: from eggs.gnu.org ([2001:4830:134:3::10]:43598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM2X5-00080f-LV for qemu-devel@nongnu.org; Fri, 07 Mar 2014 16:42:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WM2Wz-0003DW-Ir for qemu-devel@nongnu.org; Fri, 07 Mar 2014 16:42:19 -0500 Received: from cantor2.suse.de ([195.135.220.15]:46158 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM2Wz-0003DC-D6 for qemu-devel@nongnu.org; Fri, 07 Mar 2014 16:42:13 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 7 Mar 2014 22:42:08 +0100 Message-Id: <1394228528-31625-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH buildfix] xenfb: Fix graphic_console_init() build failure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Gerd Hoffmann 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 Signed-off-by: Andreas F=C3=A4rber --- 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: =20 /* vfb */ fb =3D container_of(xfb, struct XenFB, c.xendev); - fb->c.con =3D graphic_console_init(NULL, &xenfb_ops, fb); + fb->c.con =3D graphic_console_init(NULL, 0, &xenfb_ops, fb); fb->have_console =3D 1; =20 /* vkbd */ --=20 1.8.4.5