qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 432311: ui: fix incorrect scaling on highdpi


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 432311: ui: fix incorrect scaling on highdpi with gtk/opengl
Date: Mon, 22 Nov 2021 07:34:35 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4323118cadc5a316f73b5b0a60b5789ed9201369
      
https://github.com/qemu/qemu/commit/4323118cadc5a316f73b5b0a60b5789ed9201369
  Author: Alexander Orzechowski <orzechowski.alexander@gmail.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M ui/gtk-gl-area.c

  Log Message:
  -----------
  ui: fix incorrect scaling on highdpi with gtk/opengl

Signed-off-by: Alexander Orzechowski <orzechowski.alexander@gmail.com>
Message-Id: <20211121065504.29101-2-orzechowski.alexander@gmail.com>

[ kraxel: codestyle fix ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: f14aab420c58b57e07189d6d9e6d3fbfab4761a6
      
https://github.com/qemu/qemu/commit/f14aab420c58b57e07189d6d9e6d3fbfab4761a6
  Author: Alexander Orzechowski <orzechowski.alexander@gmail.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  ui: fix incorrect pointer position on highdpi with gtk

Signed-off-by: Alexander Orzechowski <orzechowski.alexander@gmail.com>
Message-Id: <20211121065504.29101-3-orzechowski.alexander@gmail.com>

[ kraxel: codestyle fix ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: c3abdb2faff62e3ded21bf8c3ef493ed70785623
      
https://github.com/qemu/qemu/commit/c3abdb2faff62e3ded21bf8c3ef493ed70785623
  Author: Dongwon Kim <dongwon.kim@intel.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  ui/gtk: graphic_hw_gl_flushed after closing dmabuf->fence_fd

The dmabuf often becomes invalid right after unblocking pipeline
and graphic_hw_gl_flushed in case a new scanout blob is submitted
because the dmabuf associated with the current guest scanout is
freed after swapping.

So both graphic_hw_gl_block and graphic_hw_gl_flushed should be
executed after closing fence_fd for the current dmabuf.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Message-Id: <20211121172237.14937-1-dongwon.kim@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 2e572baf659f5a457c876c6b2d02a217afb401c5
      
https://github.com/qemu/qemu/commit/2e572baf659f5a457c876c6b2d02a217afb401c5
  Author: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M ui/vnc-clipboard.c

  Log Message:
  -----------
  ui/vnc-clipboard: fix adding notifier twice

vnc_server_cut_text_caps() is not guaranteed to be called only once.

If it called twice, we finally call notifier_list_add() twice with same
element. Which leads to loopback QLIST. So, on next
notifier_list_notify() we'll loop forever and QEMU stuck.

So, let's only register new notifier if it's not yet registered.

Note, that similar check is used in vdagent_chr_recv_caps() (before
call qemu_clipboard_peer_register()), and also before
qemu_clipboard_peer_unregister() call in vdagent_disconnect() and in
vnc_disconnect_finish().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211110103800.2266729-1-vsementsov@virtuozzo.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 4067691a2fed9a7639b1264b07c131d8e11f2b4f
      
https://github.com/qemu/qemu/commit/4067691a2fed9a7639b1264b07c131d8e11f2b4f
  Author: Laurent Vivier <lvivier@redhat.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  migration: fix dump-vmstate with modules

To work correctly -dump-vmstate and vmstate-static-checker.py need to
dump all the supported vmstates.

But as some devices can be modules, they are not loaded at startup and not
dumped. Fix that by loading all available modules before dumping the
machine vmstate.

Fixes: 7ab6e7fcce97 ("qdev: device module support")
Cc: kraxel@redhat.com
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211116072840.132731-1-lvivier@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: d612405ed2a1163a142f94552a9874ad4b02de30
      
https://github.com/qemu/qemu/commit/d612405ed2a1163a142f94552a9874ad4b02de30
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M hw/i386/microvm-dt.c

  Log Message:
  -----------
  hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm()

Fixes: f5918a99283 ("microvm: add device tree support.")
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20211117174331.1715144-1-philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 1b38ccc9a1fa865a8838c89216dc36df87e9c9d5
      
https://github.com/qemu/qemu/commit/1b38ccc9a1fa865a8838c89216dc36df87e9c9d5
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M hw/i386/microvm-dt.c

  Log Message:
  -----------
  microvm: add missing g_free() call

Fixes: CID 1465240
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211108130718.840216-2-kraxel@redhat.com>


  Commit: b9e5628ca5d42994cc6f82752d9bf0bc98f51f64
      
https://github.com/qemu/qemu/commit/b9e5628ca5d42994cc6f82752d9bf0bc98f51f64
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M hw/i386/microvm-dt.c

  Log Message:
  -----------
  microvm: check g_file_set_contents() return value

Fixes: CID 1465239
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20211108130718.840216-3-kraxel@redhat.com>


  Commit: 5d1f437fb42dbd520b81a834fb2b7939ec1a7860
      
https://github.com/qemu/qemu/commit/5d1f437fb42dbd520b81a834fb2b7939ec1a7860
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M hw/i386/microvm-dt.c
    M softmmu/vl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c
    M ui/vnc-clipboard.c

  Log Message:
  -----------
  Merge tag 'fixes-20211122-pull-request' of git://git.kraxel.org/qemu into 
staging

fixes for 6.2: microvm, ui, modules.

# gpg: Signature made Mon 22 Nov 2021 01:39:53 PM CET
# gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]

* tag 'fixes-20211122-pull-request' of git://git.kraxel.org/qemu:
  microvm: check g_file_set_contents() return value
  microvm: add missing g_free() call
  hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm()
  migration: fix dump-vmstate with modules
  ui/vnc-clipboard: fix adding notifier twice
  ui/gtk: graphic_hw_gl_flushed after closing dmabuf->fence_fd
  ui: fix incorrect pointer position on highdpi with gtk
  ui: fix incorrect scaling on highdpi with gtk/opengl

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/49aaac3548bc...5d1f437fb42d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]