|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] pci hotplug in xcp
Thanks Ian. I have other-config:pci="" set in both my VM's. Once I have pci device binding issue solved I will try this out.
Thanks
On Thu, Apr 8, 2010 at 5:35 AM, Ian Pratt <Ian.Pratt@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 :)
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
|
|
|
|
|