From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ2Xm-0006rJ-OK for qemu-devel@nongnu.org; Thu, 18 Nov 2010 06:20:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ2Xl-0006EN-Su for qemu-devel@nongnu.org; Thu, 18 Nov 2010 06:20:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ2Xl-0006E9-LV for qemu-devel@nongnu.org; Thu, 18 Nov 2010 06:20:45 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAIBKiwv028684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Nov 2010 06:20:44 -0500 Date: Thu, 18 Nov 2010 13:20:43 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH 0/3] add hotplug opt-out option for devices. Message-ID: <20101118112043.GG7948@redhat.com> References: <1290077118-11577-1-git-send-email-kraxel@redhat.com> <20101118110113.GE7948@redhat.com> <4CE50A51.1080209@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CE50A51.1080209@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Thu, Nov 18, 2010 at 12:13:21PM +0100, Gerd Hoffmann wrote: > On 11/18/10 12:01, Gleb Natapov wrote: > >On Thu, Nov 18, 2010 at 11:45:15AM +0100, Gerd Hoffmann wrote: > >> Hi, > >> > >>This patch series adds a qdev flag which allows devices being tagged as > >>not hotpluggable. It also sets this flag for a number of devices. > >> > >Do we want to be able to mark device as not hot-unpluggable from command > >like too? Something like this -device blabla,notunplug=no. > > Hmm, dunno. Do you have a example where this would be needed or useful? > Dunno me too. Windows allows to eject any hot-unpluggable device to any user and in the past we got requirement to disable this and had to build two BIOSes one with cpu hot-plug support another without. So hot-pluggability of device looks like management decision (along with technical one if device can't be actually unplugged). -- Gleb.