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

RE: [Xen-devel] pci hotplug in xcp



> 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 :)

If you want to use hotplug rather than static assignment, you should make sure 
that the guest has a "pci" key (even an empty one) as this causes xapi to take 
care of setting the guest up for PCI passthrough, so you don't have to manually 
edit anything. E.g.:
  xe vm-param-set other-config:pci="" uuid=$VMUUID



Ian
 

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