Displaying 16 results from an estimated 16 matches for "remove_slot".
2007 Dec 03
3
domU does not see the pci nic - pci passthrough
...ot 0 Dec 3 16:07 module ->
../../../../module/pciback
--w------- 1 root root 4096 Dec 3 16:07 new_id
--w------- 1 root root 4096 Dec 3 16:07 new_slot
-rw------- 1 root root 4096 Dec 3 16:07 permissive
-rw------- 1 root root 4096 Dec 3 16:07 quirks
--w------- 1 root root 4096 Dec 3 16:07 remove_slot
-r-------- 1 root root 4096 Dec 3 16:07 slots
--w------- 1 root root 4096 Dec 3 16:07 unbindsys/bus/pci/drivers/pciback/
This is the domU confguration file:
name = "VMTEST"
memory = "256"
disk = [ ''phy:/dev/VolGroup00/VMTEST,xvda,w'', ]
vif = [ ''mac=...
2008 Nov 16
2
PCI passthrough to domU does not work with XEN 3.3
.../module/pciback
> --w------- 1 root root 4096 2008-11-16 20:53 new_id
> --w------- 1 root root 4096 2008-11-16 20:53 new_slot
> -rw------- 1 root root 4096 2008-11-16 20:53 permissive
> -rw------- 1 root root 4096 2008-11-16 20:53 quirks
> --w------- 1 root root 4096 2008-11-16 20:53 remove_slot
> -r-------- 1 root root 4096 2008-11-16 20:53 slots
> --w------- 1 root root 4096 2008-11-16 20:53 uevent
> --w------- 1 root root 4096 2008-11-16 20:53 unbind
domu config (/etc/xen/test.cfg)
#kernel = ''/boot/vmlinuz-2.6.24-21-xen''
#ramdisk = ''/boot/in...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...(struct hotplug_slot *slot, const char **param)
+{
+ int rc;
+ struct virtfn_slot *vslot = slot->private;
+
+ rc = notify(vslot->dev, PCI_IOV_VF_GETPARAM,
+ vslot->id, vslot->slot->info->param);
+ if (!rc)
+ *param = slot->info->param;
+
+ return rc;
+}
+
+static void remove_slot(struct hotplug_slot *slot)
+{
+ struct virtfn_slot *vslot = slot->private;
+
+ disable_virtfn(slot);
+ pci_dev_put(vslot->dev);
+ list_del(&vslot->node);
+ kfree(slot->info->param);
+ kfree(slot->info);
+ kfree(slot);
+ kfree(vslot);
+}
+
+static int add_slot(struct pci_dev *d...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...(struct hotplug_slot *slot, const char **param)
+{
+ int rc;
+ struct virtfn_slot *vslot = slot->private;
+
+ rc = notify(vslot->dev, PCI_IOV_VF_GETPARAM,
+ vslot->id, vslot->slot->info->param);
+ if (!rc)
+ *param = slot->info->param;
+
+ return rc;
+}
+
+static void remove_slot(struct hotplug_slot *slot)
+{
+ struct virtfn_slot *vslot = slot->private;
+
+ disable_virtfn(slot);
+ pci_dev_put(vslot->dev);
+ list_del(&vslot->node);
+ kfree(slot->info->param);
+ kfree(slot->info);
+ kfree(slot);
+ kfree(vslot);
+}
+
+static int add_slot(struct pci_dev *d...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...(struct hotplug_slot *slot, const char **param)
+{
+ int rc;
+ struct virtfn_slot *vslot = slot->private;
+
+ rc = notify(vslot->dev, PCI_IOV_VF_GETPARAM,
+ vslot->id, vslot->slot->info->param);
+ if (!rc)
+ *param = slot->info->param;
+
+ return rc;
+}
+
+static void remove_slot(struct hotplug_slot *slot)
+{
+ struct virtfn_slot *vslot = slot->private;
+
+ disable_virtfn(slot);
+ pci_dev_put(vslot->dev);
+ list_del(&vslot->node);
+ kfree(slot->info->param);
+ kfree(slot->info);
+ kfree(slot);
+ kfree(vslot);
+}
+
+static int add_slot(struct pci_dev *d...
2009 Jan 23
0
ASUS p6t, i7 920, vt-d broken.....
..../../../../module/pciback
0 --w------- 1 root root 4096 2009-01-24 00:21 new_id
0 --w------- 1 root root 4096 2009-01-24 00:21 new_slot
0 -rw------- 1 root root 4096 2009-01-24 00:21 permissive
0 -rw------- 1 root root 4096 2009-01-24 00:21 quirks
0 --w------- 1 root root 4096 2009-01-24 00:21 remove_slot
0 -r-------- 1 root root 4096 2009-01-24 00:21 slots
0 --w------- 1 root root 4096 2009-01-24 00:05 uevent
0 --w------- 1 root root 4096 2009-01-24 00:21 unbind
iv) I can even take a verbose dump and see that the driver IS attached to
the card;
07:01.0 Multimedia controller: Creamware GmBH Pul...
2009 Nov 10
1
Xen pci passthru problems with kernel -164.6.1
...e/pciback
--w------- 1 root root 4096 Nov 10 09:55 new_id
--w------- 1 root root 4096 Nov 10 09:55 new_slot
-rw------- 1 root root 0 Nov 10 08:35 permissive
-rw------- 1 root root 0 Nov 10 08:35 quirks
--w------- 1 root root 4096 Nov 10 09:55 remove_id
--w------- 1 root root 4096 Nov 10 09:55 remove_slot
-r-------- 1 root root 4096 Nov 10 09:55 slots
--w------- 1 root root 4096 Nov 10 09:55 unbind
# Script do create the initrds
KVER="2.6.18-164.6.1.el5xen"
mkinitrd -f --omit-scsi-modules --omit-raid-modules \
--with=e1000e --with=xennet --with=xenblk \
--preload=xenblk /boot/initrd-$KV...
2023 Mar 22
1
Xen with libvirt and SR-IOV
...quirks
> 0000:81:02.5? 0000:81:03.4? 0000:81:04.3? 0000:81:05.2? 0000:81:06.3
> 0000:81:07.2? 0000:81:08.1? 0000:81:09.0? irq_handlers?????? remove_id
> 0000:81:02.6? 0000:81:03.5? 0000:81:04.4? 0000:81:05.3? 0000:81:06.4
> 0000:81:07.3? 0000:81:08.2? 0000:81:09.1? irq_handler_state? remove_slot
>
> [root at xen1 ~]# cat /sys/bus/pci/devices/0000\:81\:02.6/device
> 0x154c
> [root at xen1 ~]# cat /sys/bus/pci/devices/0000\:81\:02.6/vendor
> 0x8086
> [root at xen1 ~]# cat /sys/bus/pci/devices/0000\:81\:02.6/subsystem_vendor
> 0x8086
>
> [root at xen1 ~]# ls /sys/...
2008 Sep 27
0
[PATCH 9/9] xen: add SR-IOV support to xm
...28,6 +28,14 @@
SYSFS_PCI_DEV_SUBDEVICE_PATH = ''/subsystem_device''
SYSFS_PCI_DEV_CLASS_PATH = ''/class''
SYSFS_PCIBACK_PATH = ''/bus/pci/drivers/pciback/''
+SYSFS_PCIBACK_NEWSLOT = ''new_slot''
+SYSFS_PCIBACK_REMOVESLOT = ''remove_slot''
+SYSFS_PCI_IOV_ENTRY = ''/iov/''
+SYSFS_PCI_IOV_RID = ''rid''
+SYSFS_PCI_IOV_ENABLE = ''enable''
+SYSFS_PCI_IOV_NUMVFS = ''numvfs''
+SYSFS_PCI_IOV_TOTAL = ''totalvfs''
+SYSFS_PCI_IOV_INITIAL = ''initia...
2010 May 07
3
pci passthrough error "unknown command"pci-ins"
...oot root 4096 2010-05-07 16:35 new_id
--w------- 1 root root 4096 2010-05-07 16:35 new_slot
-rw------- 1 root root 4096 2010-05-07 16:35 permissive
-rw------- 1 root root 4096 2010-05-07 16:35 quirks
--w------- 1 root root 4096 2010-05-07 16:35 remove_id
--w------- 1 root root 4096 2010-05-07 16:35 remove_slot
-r-------- 1 root root 4096 2010-05-07 16:35 slots
--w------- 1 root root 4096 2010-05-07 16:35 uevent
--w------- 1 root root 4096 2010-05-07 16:35 unbind
root@charles-dq45:~# xm pci-list-assignable-devices
0000:02:00.0
0000:01:00.0
root@charles-dq45:~# dmesg |grep pciback
[ 0.000000] Command...
2010 May 07
3
pci passthrough error "unknown command"pci-ins"
...oot root 4096 2010-05-07 16:35 new_id
--w------- 1 root root 4096 2010-05-07 16:35 new_slot
-rw------- 1 root root 4096 2010-05-07 16:35 permissive
-rw------- 1 root root 4096 2010-05-07 16:35 quirks
--w------- 1 root root 4096 2010-05-07 16:35 remove_id
--w------- 1 root root 4096 2010-05-07 16:35 remove_slot
-r-------- 1 root root 4096 2010-05-07 16:35 slots
--w------- 1 root root 4096 2010-05-07 16:35 uevent
--w------- 1 root root 4096 2010-05-07 16:35 unbind
root@charles-dq45:~# xm pci-list-assignable-devices
0000:02:00.0
0000:01:00.0
root@charles-dq45:~# dmesg |grep pciback
[ 0.000000] Command...
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
2012 May 15
5
[PATCH 0 of 4 v3] Add commands to automatically prep devices for pass-through
Add commands to automatically prep devices for pass-through
The current method for passing through devices requires users to
either modify cryptic Linux boot parameters and reboot, or do a lot of
manual reads and writes into sysfs nodes.
This set of patches introduces commands to make this easier. It expands
on the concept of "assignable" (from the list_assignable_devices command).
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi,
this is the next version of quota support for quota tools. I've addressed all
the comments of Tao, Joel and others. Sparse feature disabling also correctly
updates quota information now and the patch is merged into the tunefs support
patch.
Honza
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi,
I'm sending a series of patches implementing quota support into ocfs2-tools.
It's the same as the original huge patch I've sent but now it's split as Joel
asked. I've also realized that when disabling SPARSE feature, we should update
quota information. That piece of code is missing, I'll implement it soon.
Comments welcome.
Honza
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza