Received: from eggs.gnu.org ([2001:4830:134:3::10]:52952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4qXE-0004pp-KZ for qemu-devel@nongnu.org; Mon, 23 May 2016 10:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4qX9-0006st-Eg for qemu-devel@nongnu.org; Mon, 23 May 2016 10:08:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4qX9-0006si-8j for qemu-devel@nongnu.org; Mon, 23 May 2016 10:08:39 -0400 References: <1464012090-6477-1-git-send-email-marcel@redhat.com> <1464012090-6477-2-git-send-email-marcel@redhat.com> From: Paolo Bonzini Message-ID: <7f013bce-0831-df33-77b2-7d37a2e920fe@redhat.com> Date: Mon, 23 May 2016 16:08:29 +0200 MIME-Version: 1.0 In-Reply-To: <1464012090-6477-2-git-send-email-marcel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 1/2] hw/pci: delay bus_master_enable_region initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum , qemu-devel@nongnu.org Cc: ehabkost@redhat.com, mst@redhat.com, davidkiarie4@gmail.com, peterx@redhat.com, bd.aviv@gmail.com On 23/05/2016 16:01, Marcel Apfelbaum wrote: > Skip bus_master_enable region creation on PCI devices init > in order to be sure the IOMMU device (if present) would > be created in advance. Add this memory region at machine_done time. > > Signed-off-by: Marcel Apfelbaum > --- > hw/i386/pc.c | 17 +++++++++++++++++ > hw/pci/pci.c | 22 ++++++++++++---------- > include/hw/pci/pci.h | 2 ++ > 3 files changed, 31 insertions(+), 10 deletions(-) Does hotplug still work? Thanks, Paolo