qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series
@ 2012-11-02  7:44 Gerd Hoffmann
  2012-11-02 15:42 ` Andreas Färber
  2012-11-02 19:12 ` Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2012-11-02  7:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: jan.kiszka, Gerd Hoffmann, anthony

Console cleanup series renamed dpy_resize and dpy_update all over the
tree, but hw/xenfb.c was forgotten.  Update it too so it builds again.

Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/xenfb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/xenfb.c b/hw/xenfb.c
index ef24c33..442a63a 100644
--- a/hw/xenfb.c
+++ b/hw/xenfb.c
@@ -648,7 +648,7 @@ static void xenfb_guest_copy(struct XenFB *xenfb, int x, int y, int w, int h)
         xen_be_printf(&xenfb->c.xendev, 0, "%s: oops: convert %d -> %d bpp?\n",
                       __FUNCTION__, xenfb->depth, bpp);
 
-    dpy_update(xenfb->c.ds, x, y, w, h);
+    dpy_gfx_update(xenfb->c.ds, x, y, w, h);
 }
 
 #ifdef XENFB_TYPE_REFRESH_PERIOD
@@ -766,7 +766,7 @@ static void xenfb_update(void *opaque)
         xen_be_printf(&xenfb->c.xendev, 1, "update: resizing: %dx%d @ %d bpp%s\n",
                       xenfb->width, xenfb->height, xenfb->depth,
                       is_buffer_shared(xenfb->c.ds->surface) ? " (shared)" : "");
-        dpy_resize(xenfb->c.ds);
+        dpy_gfx_resize(xenfb->c.ds);
         xenfb->up_fullscreen = 1;
     }
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series
  2012-11-02  7:44 [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series Gerd Hoffmann
@ 2012-11-02 15:42 ` Andreas Färber
  2012-11-02 19:12 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2012-11-02 15:42 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: jan.kiszka, qemu-devel, anthony, Stefano Stabellini

Am 02.11.2012 08:44, schrieb Gerd Hoffmann:
> Console cleanup series renamed dpy_resize and dpy_update all over the
> tree, but hw/xenfb.c was forgotten.  Update it too so it builds again.
> 
> Reported-by: Jan Kiszka <jan.kiszka@web.de>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Acked-by: Andreas Färber <afaerber@suse.de>

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series
  2012-11-02  7:44 [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series Gerd Hoffmann
  2012-11-02 15:42 ` Andreas Färber
@ 2012-11-02 19:12 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2012-11-02 19:12 UTC (permalink / raw)
  To: Gerd Hoffmann, qemu-devel; +Cc: jan.kiszka

Gerd Hoffmann <kraxel@redhat.com> writes:

> Console cleanup series renamed dpy_resize and dpy_update all over the
> tree, but hw/xenfb.c was forgotten.  Update it too so it builds again.
>
> Reported-by: Jan Kiszka <jan.kiszka@web.de>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Applied. Thanks.

Regards,

Anthony Liguori

> ---
>  hw/xenfb.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/xenfb.c b/hw/xenfb.c
> index ef24c33..442a63a 100644
> --- a/hw/xenfb.c
> +++ b/hw/xenfb.c
> @@ -648,7 +648,7 @@ static void xenfb_guest_copy(struct XenFB *xenfb, int x, int y, int w, int h)
>          xen_be_printf(&xenfb->c.xendev, 0, "%s: oops: convert %d -> %d bpp?\n",
>                        __FUNCTION__, xenfb->depth, bpp);
>  
> -    dpy_update(xenfb->c.ds, x, y, w, h);
> +    dpy_gfx_update(xenfb->c.ds, x, y, w, h);
>  }
>  
>  #ifdef XENFB_TYPE_REFRESH_PERIOD
> @@ -766,7 +766,7 @@ static void xenfb_update(void *opaque)
>          xen_be_printf(&xenfb->c.xendev, 1, "update: resizing: %dx%d @ %d bpp%s\n",
>                        xenfb->width, xenfb->height, xenfb->depth,
>                        is_buffer_shared(xenfb->c.ds->surface) ? " (shared)" : "");
> -        dpy_resize(xenfb->c.ds);
> +        dpy_gfx_resize(xenfb->c.ds);
>          xenfb->up_fullscreen = 1;
>      }
>  
> -- 
> 1.7.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-02 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02  7:44 [Qemu-devel] [PATCH] xenfb: fix build breakage caused by console cleanup series Gerd Hoffmann
2012-11-02 15:42 ` Andreas Färber
2012-11-02 19:12 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).