Ui 20171110 patches
The following changes since commit b0fbe46ad82982b289a44ee2495b59b0bad8a842:
Update version for v2.11.0-rc0 release (2017-11-07 16:05:28 +0000)
are available in the git repository at:
git://git.kraxel.org/qemu tags/ui-20171110-pull-request
for you to fetch changes up to 2e9a8565701c22a0090876cb9e2293db4a6fb205:
ui: use QEMU_IS_ALIGNED macro (2017-11-10 14:27:29 +0100)
----------------------------------------------------------------
ui: fixes for 2.11
----------------------------------------------------------------
Gerd Hoffmann (1):
ui: fix dcl unregister
Philippe Mathieu-Daudé (1):
ui: use QEMU_IS_ALIGNED macro
ui/console-gl.c | 2 +- ui/console.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/2] ui: fix dcl unregister
register checks for dcl->ds being NULL, to avoid registering the same dcl twice.
Therefore dcl->ds must be cleared on unregister, otherwise un-registering and re-registering doesn't work.
Message-id: [email protected]
--- ui/console.c | 1 + 1 file changed, 1 insertion(+)
ui/console.c +1 -0
@@ -1471,6 +1471,7 @@ void unregister_displaychangelistener(DisplayChangeListener *dcl) dcl->con->dcls--; }QLIST_REMOVE (dcl, next); + dcl->ds =NULL ;gui_setup_refresh (ds); }
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 2/2] ui: use QEMU_IS_ALIGNED macro
In reply to Gerd HoffmannFrom: Philippe Mathieu-Daudé <[email protected]>
Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.cocci
Message-Id: <[email protected]>
--- ui/console-gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ui/console-gl.c +1 -1
@@ -48,7 +48,7 @@ void surface_gl_create_texture(QemuGLShader *gls, DisplaySurface *surface) {assert (gls); -assert (surface_stride (surface) %surface_bytes_per_pixel (surface) ==0 ); +assert (QEMU_IS_ALIGNED (surface_stride (surface),surface_bytes_per_pixel (surface)));switch (surface->format) {case PIXMAN_BE_b8g8r8x8:
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 20 lines · Gerd Hoffmann
The following changes since commit
b0fbe46ad82982b289a44ee2495b59b0bad8a842:Update version for v2.11.0-rc0 release (2017-11-07 16:05:28 +0000)
are available in the git repository at:
git://git.kraxel.org/qemutags/ui-20171110-pull-requestfor you to fetch changes up to
2e9a8565701c22a0090876cb9e2293db4a6fb205:ui: use
QEMU_IS_ALIGNEDmacro (2017-11-10 14:27:29 +0100)----------------------------------------------------------------
ui: fixes for 2.11----------------------------------------------------------------
Gerd Hoffmann (1):
ui: fix dcl unregister
Quoted 7 lines
Philippe Mathieu-Daudé (1):
ui: useQEMU_IS_ALIGNEDmacroui/console-gl.c | 2 +- ui/console.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
-- PMM