This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Return the PCIBACK device and script on power_off

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Return the PCIBACK device and script on power_off
From: "涂堂訓(Tang-Hsun Tu)" <iwantplay@xxxxxxxxx>
Date: Thu, 02 Sep 2010 17:00:00 +0800
Delivery-date: Thu, 02 Sep 2010 02:01:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=I70djueSBHEh5J0aNdKaglOv/GQ9Ygu60/b/9qvXCRo=; b=DBkAnJj/sfDlQynV/+93g1ha0NkaXe1LE7eU/QAJoOhenWLA1XsXUsUM5tptXNBM1P V0dj1aCQTPS3hWBFLBq+F+Glf/ZIHOcU7ZpKJOIp7fJTBq+nJjYy51pUrCiNFNzQQEEs TK2lbZSoM5hN2VrVQ67DQ7/WJLRtk2+7zSWnM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=VOmdf0H0iDIOzfv5B7J7APoic5eFLxEMLlnWLYRnmVMQQYHb68QMN3oAE53Kb2q6e6 SkF2G8h+G4aCT8vprJEi549nhji/07KcmD3gSnNlQbYMJMSDQzD0KPGiIQ1BswoNceKb OpWg625S21XZ8KFAw8Zy6swgvsyvgkAktHSvw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv: Gecko/20100802 Thunderbird/3.1.2
 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,

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Return the PCIBACK device and script on power_off, "涂堂訓(Tang-Hsun Tu)" <=