From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Zrp-00068V-NW for qemu-devel@nongnu.org; Tue, 07 Jan 2014 11:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0Zrh-00072w-9s for qemu-devel@nongnu.org; Tue, 07 Jan 2014 11:51:01 -0500 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:37874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Zrh-00072q-2U for qemu-devel@nongnu.org; Tue, 07 Jan 2014 11:50:53 -0500 Received: by mail-ee0-f42.google.com with SMTP id e53so193470eek.1 for ; Tue, 07 Jan 2014 08:50:52 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52CC3065.1050902@redhat.com> Date: Tue, 07 Jan 2014 17:50:45 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1385718225-26379-1-git-send-email-armbru@redhat.com> <1385718225-26379-2-git-send-email-armbru@redhat.com> <52AE1752.2080605@suse.de> <87k3f5mb9x.fsf@blackfin.pond.sub.org> <52CBF412.2030806@suse.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] hw: cannot_instantiate_with_device_add_yet due to pointer props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Michael S. Tsirkin" , Marcel Apfelbaum , QEMU Developers , Fabien Chouteau , Markus Armbruster , Blue Swirl , Gerd Hoffmann , Anthony Liguori , "Edgar E. Iglesias" , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 07/01/2014 13:43, Peter Maydell ha scritto: > Sure. I think the right way to do that is to only allow > them to plug in devices that are truly pluggable (ie which > are on some pluggable bus like PCI or USB), rather than > this way round, which is trying to blacklist devices rather > than whitelist bus types. Pluggable buses include ISA, PCI, USB, SCSI, SPI, I2C, pSeries vio, i.e. basically all buses that QEMU supports except SysBus. Paolo