On Mon, Jun 03, 2013 at 03:20:48PM -0500, Anthony Liguori wrote: > Paolo Bonzini <pbonz...@redhat.com> writes: > > > Il 03/06/2013 19:49, Anthony Liguori ha scritto: > >> Peter Wu <lekenst...@gmail.com> writes: > >> > >>> Hi, > >>> > >>> With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), > >>> `qemu-system-x86_64 -enable-kvm` fails to run with the following error: > >>> > >>> kvm_set_phys_mem: error unregistering overlapping slot: Invalid > >>> argument > >>> > >>> After this message, qemu aborts. Reverting the following commit on top of > >>> master makes the bug go away. Removing the `-enable-kvm` option also > >>> allows QEMU to operate, but without KVM. > >> > >> I also noted this on F19 this weekend. > >> > >> Is anyone else seeing this on more recent kernels? > > > > Yes, it's caused by 3.9. Gleb and I decided to consider this (raising > > an error when removing a non-existent slot) a feature since it never > > happened as far as we know on released versions of QEMU/nlkt/whatever. > > Gleb queued a patch in uq/master, I think he'll be sending a pull > > request soon. > > Since I suspect Gleb is done for the day, I will apply directly since > this is a pretty major breakage. > Heh, since patch was on the list for 3 days before I picked it (was traveling before that) I thought I can spend one day more for testing before sending pull request :) The patch is already queued on uq/master and I'd rather do not rebase this branch, so I'll push it to you anyway. git will know how to handle this.
-- Gleb.