Received: from eggs.gnu.org ([2001:4830:134:3::10]:40913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7MJS-0004jw-TD for qemu-devel@nongnu.org; Tue, 23 Jun 2015 07:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7MJO-00058f-Vs for qemu-devel@nongnu.org; Tue, 23 Jun 2015 07:24:22 -0400 From: Markus Armbruster References: <1435014639-27341-1-git-send-email-eblake@redhat.com> <87h9py4x4l.fsf@blackfin.pond.sub.org> <55892785.5060004@redhat.com> Date: Tue, 23 Jun 2015 13:24:12 +0200 In-Reply-To: <55892785.5060004@redhat.com> (Paolo Bonzini's message of "Tue, 23 Jun 2015 11:31:49 +0200") Message-ID: <87oak64qhv.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCHv2 for-2.4] block: Auto-generate node_names for each BDS entry List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Kevin Wolf , Jeff Cody , qemu-devel@nongnu.org, Block layer core Paolo Bonzini writes: > On 23/06/2015 11:00, Markus Armbruster wrote: >> My point is: the problem is more general than just block nodes. Doesn't >> mean we mustn't solve the special problem unless we solve the general >> problem. Does mean we should at least try to solve the general problem, >> and if we fail, try our best to solve the special problem in a way that >> fits into a general solution. >> >> Have you tried to solve or at least discuss the general problem? > > IIRC blockdevs are special because some of them (the backing files) are > opened without request from the user. > > The same happens for board-created devices, but we can just say they > aren't unpluggable. (qemu) device_add usb-mouse ... time passes ... (qemu) device_del usb-mouse Device 'usb-mouse' not found (qemu) device_del usb-bus.0/usb-mouse Device 'usb-bus.0/usb-mouse' not found (qemu) device_del /machine/peripheral-anon/device[1] Device '/machine/peripheral-anon/device[1]' not found (qemu) I hate you, too unknown command: 'I' This has come up many times.