From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BE3-0006kD-Oa for qemu-devel@nongnu.org; Tue, 10 May 2016 13:13:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0BDy-0000Kd-J6 for qemu-devel@nongnu.org; Tue, 10 May 2016 13:13:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BDy-0000KP-Ch for qemu-devel@nongnu.org; Tue, 10 May 2016 13:13:34 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8297B8110E for ; Tue, 10 May 2016 17:13:33 +0000 (UTC) References: <1462816056-17463-1-git-send-email-marcel@redhat.com> <8737pqfhac.fsf@dusky.pond.sub.org> <20160510183412-mutt-send-email-mst@redhat.com> From: Paolo Bonzini Message-ID: <573216B9.3060902@redhat.com> Date: Tue, 10 May 2016 19:13:29 +0200 MIME-Version: 1.0 In-Reply-To: <20160510183412-mutt-send-email-mst@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 0/3] qdev: order devices by priority before creating them List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , Markus Armbruster Cc: Marcel Apfelbaum , qemu-devel@nongnu.org On 10/05/2016 17:36, Michael S. Tsirkin wrote: >> > Can you explain why requiring the user to specify -device in a sane >> > order isn't good enough? > Because it requires knowledge about the hardware. > For example, how do users know that iommu must come before the devices? > They don't. Could they "know" it by adding an iommu=foo argument to e.g. the PCI bridge, pointing to the IOMMU device? Paolo