-
Xiao Guangrong authored
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 235e8982 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>Xiao Guangrong authoredLuiz 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 235e8982 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>
Loading