qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 0/2] Vga 20191220 patches
@ 2019-12-20  6:06 Gerd Hoffmann
  2019-12-20  6:06 ` [PULL 1/2] vhost-user-gpu: Drop trailing json comma Gerd Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2019-12-20  6:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, Gerd Hoffmann, Michael S. Tsirkin

The following changes since commit aceeaa69d28e6f08a24395d0aa6915b687d0a681:

  Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging (2019-12-17 15:55:20 +0000)

are available in the Git repository at:

  git://git.kraxel.org/qemu tags/vga-20191220-pull-request

for you to fetch changes up to 0d82411d0e38a0de7829f97d04406765c8d2210d:

  display/bochs-display: fix memory leak (2019-12-20 07:05:46 +0100)

----------------------------------------------------------------
vga: two little bugfixes.

----------------------------------------------------------------

Cameron Esfahani (1):
  display/bochs-display: fix memory leak

Cole Robinson (1):
  vhost-user-gpu: Drop trailing json comma

 hw/display/bochs-display.c                 | 2 ++
 contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.18.1



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

* [PULL 1/2] vhost-user-gpu: Drop trailing json comma
  2019-12-20  6:06 [PULL 0/2] Vga 20191220 patches Gerd Hoffmann
@ 2019-12-20  6:06 ` Gerd Hoffmann
  2019-12-20  6:06 ` [PULL 2/2] display/bochs-display: fix memory leak Gerd Hoffmann
  2020-01-03 15:57 ` [PULL 0/2] Vga 20191220 patches Peter Maydell
  2 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2019-12-20  6:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: Marc-André Lureau, Cole Robinson, Gerd Hoffmann,
	Michael S. Tsirkin

From: Cole Robinson <crobinso@redhat.com>

Trailing comma is not valid json:

$ cat contrib/vhost-user-gpu/50-qemu-gpu.json.in | jq
parse error: Expected another key-value pair at line 5, column 1

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 7f5dd2ac9f3504e2699f23e69bc3d8051b729832.1568925097.git.crobinso@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/vhost-user-gpu/50-qemu-gpu.json.in b/contrib/vhost-user-gpu/50-qemu-gpu.json.in
index 658b545864b1..f5edd097f805 100644
--- a/contrib/vhost-user-gpu/50-qemu-gpu.json.in
+++ b/contrib/vhost-user-gpu/50-qemu-gpu.json.in
@@ -1,5 +1,5 @@
 {
   "description": "QEMU vhost-user-gpu",
   "type": "gpu",
-  "binary": "@libexecdir@/vhost-user-gpu",
+  "binary": "@libexecdir@/vhost-user-gpu"
 }
-- 
2.18.1



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

* [PULL 2/2] display/bochs-display: fix memory leak
  2019-12-20  6:06 [PULL 0/2] Vga 20191220 patches Gerd Hoffmann
  2019-12-20  6:06 ` [PULL 1/2] vhost-user-gpu: Drop trailing json comma Gerd Hoffmann
@ 2019-12-20  6:06 ` Gerd Hoffmann
  2020-01-03 15:57 ` [PULL 0/2] Vga 20191220 patches Peter Maydell
  2 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2019-12-20  6:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: Marc-André Lureau, Gerd Hoffmann, Cameron Esfahani,
	Michael S. Tsirkin

From: Cameron Esfahani <dirty@apple.com>

Fix memory leak in bochs_display_update().  Leaks 304 bytes per frame.

Fixes: 33ebad54056
Signed-off-by: Cameron Esfahani <dirty@apple.com>
Message-Id: <d6c26e68db134c7b0c7ce8b61596ca2e65e01e12.1576013209.git.dirty@apple.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/display/bochs-display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c
index dc1bd1641d34..215db9a231d3 100644
--- a/hw/display/bochs-display.c
+++ b/hw/display/bochs-display.c
@@ -252,6 +252,8 @@ static void bochs_display_update(void *opaque)
             dpy_gfx_update(s->con, 0, ys,
                            mode.width, y - ys);
         }
+
+        g_free(snap);
     }
 }
 
-- 
2.18.1



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

* Re: [PULL 0/2] Vga 20191220 patches
  2019-12-20  6:06 [PULL 0/2] Vga 20191220 patches Gerd Hoffmann
  2019-12-20  6:06 ` [PULL 1/2] vhost-user-gpu: Drop trailing json comma Gerd Hoffmann
  2019-12-20  6:06 ` [PULL 2/2] display/bochs-display: fix memory leak Gerd Hoffmann
@ 2020-01-03 15:57 ` Peter Maydell
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2020-01-03 15:57 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Marc-André Lureau, QEMU Developers, Michael S. Tsirkin

On Fri, 20 Dec 2019 at 06:08, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> The following changes since commit aceeaa69d28e6f08a24395d0aa6915b687d0a681:
>
>   Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging (2019-12-17 15:55:20 +0000)
>
> are available in the Git repository at:
>
>   git://git.kraxel.org/qemu tags/vga-20191220-pull-request
>
> for you to fetch changes up to 0d82411d0e38a0de7829f97d04406765c8d2210d:
>
>   display/bochs-display: fix memory leak (2019-12-20 07:05:46 +0100)
>
> ----------------------------------------------------------------
> vga: two little bugfixes.
>
> ----------------------------------------------------------------
>
> Cameron Esfahani (1):
>   display/bochs-display: fix memory leak
>
> Cole Robinson (1):
>   vhost-user-gpu: Drop trailing json comma
>
>  hw/display/bochs-display.c                 | 2 ++
>  contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM


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

end of thread, other threads:[~2020-01-03 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-20  6:06 [PULL 0/2] Vga 20191220 patches Gerd Hoffmann
2019-12-20  6:06 ` [PULL 1/2] vhost-user-gpu: Drop trailing json comma Gerd Hoffmann
2019-12-20  6:06 ` [PULL 2/2] display/bochs-display: fix memory leak Gerd Hoffmann
2020-01-03 15:57 ` [PULL 0/2] Vga 20191220 patches Peter Maydell

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).