qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ca58b4: ui/virtio-gpu: add and use qemu_creat


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ca58b4: ui/virtio-gpu: add and use qemu_create_displaysurf...
Date: Mon, 11 Apr 2016 06:30:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ca58b45fbee05ef7ed938abc5308548866335937
      
https://github.com/qemu/qemu/commit/ca58b45fbee05ef7ed938abc5308548866335937
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-11 (Mon, 11 Apr 2016)

  Changed paths:
    M hw/display/virtio-gpu.c
    M include/ui/console.h
    M trace-events
    M ui/console.c

  Log Message:
  -----------
  ui/virtio-gpu: add and use qemu_create_displaysurface_pixman

Add a the new qemu_create_displaysurface_pixman function, to create
a DisplaySurface backed by an existing pixman image.  In that case
there is no need to create a new pixman image pointing to the same
backing storage.  We can just use the existing image directly.

This does not only simplify things a bit, but most importantly it
gets the reference counting right, so the backing storage for the
pixman image wouldn't be released underneath us.

Use new function in virtio-gpu, where using it actually fixes
use-after-free crashes.

Cc: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: fa49e4656a641af84e4cdf40c8d12dacb25dc0aa
      
https://github.com/qemu/qemu/commit/fa49e4656a641af84e4cdf40c8d12dacb25dc0aa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-11 (Mon, 11 Apr 2016)

  Changed paths:
    M hw/display/virtio-gpu.c

  Log Message:
  -----------
  virtio-gpu: block live migration

Feeling a bit nervous putting the full live migration support
patch (https://patchwork.ozlabs.org/patch/606902/) in that
late in the 2.6 devel cycle as it carries some non-trivial
changes.  So disable migration in case virtio-gpu is present
for now.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5144fe36056d3a94b0d8da9e10adc555c057baa8
      
https://github.com/qemu/qemu/commit/5144fe36056d3a94b0d8da9e10adc555c057baa8
  Author: Peter Maydell <address@hidden>
  Date:   2016-04-11 (Mon, 11 Apr 2016)

  Changed paths:
    M hw/display/virtio-gpu.c
    M include/ui/console.h
    M trace-events
    M ui/console.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160411-1' into 
staging

virtio-gpu: pixman surface fix, block live migration

# gpg: Signature made Mon 11 Apr 2016 11:45:18 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-vga-20160411-1:
  virtio-gpu: block live migration
  ui/virtio-gpu: add and use qemu_create_displaysurface_pixman

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/9628af036fad...5144fe36056d

reply via email to

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