aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/bt.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2013-05-31 16:52:18 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2013-06-03 15:21:27 -0500
commit651eb0f41b793021f7de672de78892def5819fb9 (patch)
tree03175cafce0ba8bef54f9076e1046ae6effe196f /include/sysemu/bt.h
parent25b483381adf4144bad3cf3f433b4658da5e15bb (diff)
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 <lcapitulino@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/sysemu/bt.h')
0 files changed, 0 insertions, 0 deletions