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

Re: [Xen-devel] pci hotplug in xcp


  • To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
  • From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
  • Date: Thu, 8 Apr 2010 07:44:04 -0700
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 08 Apr 2010 07:44:59 -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=kuCK1SNkX1cYrYhXxjDvGKqlea+gGQQhBFt2Ecy0xxdRLzEg+1d3Jx8fg7M5GYoPxV o7q+I8bbKDzcpYNnxDt5eYNjEjwY8UwYNOy3xLfgqpGJdqApHwkXocVndHJRXJbNlFl8 eb1vffm/hvyRIy9mV4wFW8Oz3C8bOz62GQodI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks Stefano.

I am having problems binding device to pciback(this is from day1). Driver for this device is not loaded in dom0 so this device is not bound to any driver.

#echo $pcidev
0000:08:01.0

# echo -n $pcidev > /sys/bus/pci/drivers/pciback/bind
-bash: echo: write error: No such device

ls -l /sys/bus/pci/drivers/pciback/bind
--w------- 1 root root 4096 Apr  8 07:40 /sys/bus/pci/drivers/pciback/bind

Any inputs?

Thanks

On Thu, Apr 8, 2010 at 3:55 AM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
On Wed, 7 Apr 2010, Ritu kaur wrote:
> xl pci-attach doesn't seem to work unless vm is rebooted. Steps followed
>
> 1. modprobe pciback on dom0

did you bind the device to pciback before executing "xl pci-attach"?
xl doesn't do it for you.
Beside you need to add -priv to the qemu command line options and to do
that you need to edit /opt/xensource/libexec/qemu-dm-wrapper for example
adding

qemu_args.append("-priv")

right after

qemu_args.append("pty")

sorry for not mentioning this before :)


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