qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 93f874: virtio-gpu: fix crashes upon warm reb


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 93f874: virtio-gpu: fix crashes upon warm reboot with vga ...
Date: Tue, 07 Aug 2018 08:07:21 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 93f874fe9dbe0b997b5a9459840957efd13d7191
      
https://github.com/qemu/qemu/commit/93f874fe9dbe0b997b5a9459840957efd13d7191
  Author: Marc-André Lureau <address@hidden>
  Date:   2018-08-07 (Tue, 07 Aug 2018)

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

  Log Message:
  -----------
  virtio-gpu: fix crashes upon warm reboot with vga mode

With vga=775 on the Linux command line a first boot of the VM running
Linux works fine. After a warm reboot it crashes during Linux boot.

Before that, valgrind points out bad memory write to console
surface. The VGA code is not aware that virtio-gpu got a message
surface scanout when the display is disabled. Let's reset VGA graphic
mode when it is the case, so that a new display surface is created
when doing further VGA operations.

https://bugs.launchpad.net/qemu/+bug/1784900/

Reported-by: Stefan Berger <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Stefan Berger <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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