qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 651eb0: fix double free the memslot in kvm_se


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 651eb0: fix double free the memslot in kvm_set_phys_mem
Date: Mon, 03 Jun 2013 15:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 651eb0f41b793021f7de672de78892def5819fb9
      
https://github.com/qemu/qemu/commit/651eb0f41b793021f7de672de78892def5819fb9
  Author: Xiao Guangrong <address@hidden>
  Date:   2013-06-03 (Mon, 03 Jun 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  fix double free the memslot in kvm_set_phys_mem

Luiz Capitulino reported that guest refused to boot and qemu
complained with:
kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument

It is caused by commit 235e8982ad that did double free for the memslot
so that the second one raises the -EINVAL error

Fix it by reset memory size only if it is needed

Reported-by: Luiz Capitulino <address@hidden>
Signed-off-by: Xiao Guangrong <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 41686a960805ed561158c7e4809f0c9f92f1d8ec
      
https://github.com/qemu/qemu/commit/41686a960805ed561158c7e4809f0c9f92f1d8ec
  Author: Anthony Liguori <address@hidden>
  Date:   2013-06-03 (Mon, 03 Jun 2013)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: don't resize window when enabling scaling

Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 171392406d8e230d62e5ebf4805f71460854b8ec
      
https://github.com/qemu/qemu/commit/171392406d8e230d62e5ebf4805f71460854b8ec
  Author: Anthony Liguori <address@hidden>
  Date:   2013-06-03 (Mon, 03 Jun 2013)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: don't use g_object_unref on GdkCursor

It's not a GObject.

Cc: Gerd Hoffman <address@hidden>
Reported-by: Michael Tokarev <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
---
v1 -> v2
 - Fix summary to agree with code (Peter)


Compare: https://github.com/qemu/qemu/compare/25b483381adf...171392406d8e

reply via email to

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