From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] pci: add remove_id sysfs entry Date: Fri, 13 Feb 2009 19:33:19 -0800 Message-ID: <20090214033319.GA4591@kroah.com> References: <1234542767.23746.81.camel@blaa> <20090214021244.GW27684@sequoia.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark McLoughlin , kvm , "linux-pci@vger.kernel.org" , Chris Wright , "Dugger, Donald D" , "Kay, Allen M" To: Chris Wright Return-path: Received: from kroah.org ([198.145.64.141]:56332 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750797AbZBNDgK (ORCPT ); Fri, 13 Feb 2009 22:36:10 -0500 Content-Disposition: inline In-Reply-To: <20090214021244.GW27684@sequoia.sous-sol.org> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Feb 13, 2009 at 06:12:44PM -0800, Chris Wright wrote: > This adds a remove_id sysfs entry to allow users of new_id to later > remove the added dynid. One use case is management tools that want to > dynamically bind/unbind devices to pci-stub driver while devices are > assigned to KVM guests. Rather than having to track which driver was > originally bound to the driver, a mangement tool can simply: > > # echo "8086 10f5" > /sys/bus/pci/drivers/pci-stub/new_id As you're adding a new sysfs file, can you please document it in Documentation/ABI? I know the original bind and unbind files aren't documented there, they were created before the ABI/ directory showed up. It would be nice to add them as well if anyone wants to :) thanks, greg k-h