From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjbFW-0002wy-Do for qemu-devel@nongnu.org; Mon, 03 Jun 2013 16:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjbFQ-0008EK-R2 for qemu-devel@nongnu.org; Mon, 03 Jun 2013 16:21:02 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:53176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjbFQ-0008E5-96 for qemu-devel@nongnu.org; Mon, 03 Jun 2013 16:20:56 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 3 Jun 2013 16:20:55 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 6C2A1C9004A for ; Mon, 3 Jun 2013 16:20:52 -0400 (EDT) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r53KKqBa308954 for ; Mon, 3 Jun 2013 16:20:52 -0400 Received: from d01av05.pok.ibm.com (loopback [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r53KKp54028872 for ; Mon, 3 Jun 2013 16:20:52 -0400 From: Anthony Liguori In-Reply-To: <51ACF872.1080007@redhat.com> References: <11353237.fLVsHzmD7c@al> <878v2rf5iy.fsf@codemonkey.ws> <51ACF872.1080007@redhat.com> Date: Mon, 03 Jun 2013 15:20:48 -0500 Message-ID: <87bo7nosin.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Jordan Justen , Peter Wu , qemu-devel@nongnu.org, Gleb Natapov , Xiao Guangrong Paolo Bonzini writes: > Il 03/06/2013 19:49, Anthony Liguori ha scritto: >> Peter Wu 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. Regards, Anthony Liguori > > Paolo