|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] pci hotplug in xcp
xl pci-attach doesn't seem to work unless vm is rebooted. Steps followed
1. modprobe pciback on dom0 2. execute xl pci-attach 1 0000:08:01.0, following msgs seen... [-1] libxl.c:2061:libxl_device_pci_add: xc_assign_device failed: Success
[3] libxl.c:1763:libxl_create_pci_backend: Creating pci backend
3. xl pci-list 1 VFn domain bus slot func 0x00 0x0000 0x08 0x01 0x0
4. login into vm, lspci doesn't show anything.
5. vm:~# lspci
vm:~#
6. reboot vm, do lspci again it works. vm:~# lspci 00:00.0 Ethernet controller: Device feed:face
I want to avoid vm reboot?
Thanks
On Wed, Apr 7, 2010 at 4:09 AM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
On Tue, 6 Apr 2010, Dave Scott wrote:
>
> Hi,
>
> Currently the only way to hotplug is via the ‘xenops’ commandline tool. Try:
>
> # /opt/xensource/debug/xenops plug_pci –domid .. –pci .. –devid 0
>
> And similarly for unplug_pci
xl is also present is XCP so the following should also work:
xl pci-attach <domid> <BDF>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|