[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.