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

Re: [Xen-devel] domU guest for xcp 0.1.1


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
  • Date: Wed, 31 Mar 2010 16:23:51 -0700
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 31 Mar 2010 16:24:42 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fXb6D+6UbBVQN+kaT4M60WmisuGf7AVxKW7EibkX1F+za8e8Q+31kD8NAIFQMNOr6v nwg/nUxkaUQCARbyJLH4nBJXqDeV+5Yoh8LPgFRCh5uCwaa8wUrCj2V/VKhWTQk7eiqR jMTCmkwZ/63OEj43vdz6NilHTdDhpIIHVaIUE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


The NIC will remain bound to the pciback driver until you explicitly
unbind it and rebind to another driver in domain 0 and won't be
available until you do this. You can rebind the driver echo'ing the PCI
BDF of the device into the "unbind" and "bind" nodes under the
appropriate drivers in sysfs. e.g. for pcidev=0000:00:08.0:

echo -n "$pcidev" > /sys/bus/pci/devices/"$pcidev"/driver/unbind
echo -n "$pcidev" > /sys/bus/pci/drivers/$mydriver/bind


Hi Ian,

Currently, I have to reboot dom0 when I use

xe vm-param-set uuid=<vm-uuid> other-config:pci=<pci-bfd>  for pci passthrough. 

I looked at above bind/unbind files and they are present in /sys/bus/pci/drivers/<driver_name>/. Currently my driver is not loaded in dom0(not intended to load in dom0 due to passthrough) so I don't think I need to unbind. I did echo -n $pcidev > /sys/bus/pci/drivers/pciback/bind and I get

-bash: echo: write error: No such device

Currently, only way passthrough is enabled in domU is reboot of dom0 and domU after xe vm-param-set...

Kindly let me know if there is a way to avoid reboot.

Thanks


 

_______________________________________________
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®.