From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui5HW-0006hp-UX for qemu-devel@nongnu.org; Thu, 30 May 2013 12:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui53U-00052R-VA for qemu-devel@nongnu.org; Thu, 30 May 2013 11:46:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui53U-00052N-M8 for qemu-devel@nongnu.org; Thu, 30 May 2013 11:46:20 -0400 Date: Thu, 30 May 2013 11:46:04 -0400 From: Luiz Capitulino Message-ID: <20130530114604.4b12cb22@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [BUG]: kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jordan.l.justen@intel.com Cc: pbonzini@redhat.com, qemu-devel , xiaoguangrong@linux.vnet.ibm.com The culprit is commit: commit 235e8982ad393e5611cb892df54881c872eea9e1 Author: Jordan Justen Date: Wed May 29 01:27:26 2013 -0700 kvm: support using KVM_MEM_READONLY flag for regions I'm running 3.9.2-200.fc18, btw. And, error checking is missing on the first call to kvm_vm_ioctl().