From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Iua2guWgguiokyhUYW5nLUhzdW4gVHUpIg==?= Subject: Return the PCIBACK device and script on power_off Date: Thu, 02 Sep 2010 17:00:00 +0800 Message-ID: <4C7F6790.2020807@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel List-Id: xen-devel@lists.xenproject.org Dear all: There is a script to hide device and bind to pciback driver on the Xen wiki and it is usually used for pci passthrough. I have two questions as follow. 1) But sometimes I want to return these (hidden) device to the original driver, how can I do? For example, I have a intel audio device which is using "HDA Intel" driver in original. I try to echo device to the files under the driver directory, i.e. new_slot and bind, but there is no "new_slot" under the directory. (/sys/bus/pci/drivers/HDA Intel/) 2) When a domain is power_off, can I do any script ? There are only some options under the domain script, e.g. destroy, restart, preserve, etc. I want to return the hidden device after the domain destroy or poweroff. Best Regards, Tang-Hsun