search for: config_op

Displaying 8 results from an estimated 8 matches for "config_op".

Did you mean: config_of
2007 Nov 06
3
virtio config_ops refactoring
Hi, The current virtio config_ops do not map very well to the PCI config space. Here they are: > struct virtio_config_ops > { > void *(*find)(struct virtio_device *vdev, u8 type, unsigned *len); > void (*get)(struct virtio_device *vdev, void *token, > void *buf, unsigned len); > void (*...
2007 Nov 06
3
virtio config_ops refactoring
Hi, The current virtio config_ops do not map very well to the PCI config space. Here they are: > struct virtio_config_ops > { > void *(*find)(struct virtio_device *vdev, u8 type, unsigned *len); > void (*get)(struct virtio_device *vdev, void *token, > void *buf, unsigned len); > void (*...
2007 Nov 07
1
[PATCH 0/3] virtio PCI driver
...is patch series implements a PCI driver for virtio. This allows virtio devices (like block and network) to be used in QEMU/KVM. I'll post a very early KVM userspace backend in kvm-devel for those that are interested. This series depends on the two virtio fixes I've posted and Rusty's config_ops refactoring. I've tested with these patches on Rusty's experimental virtio tree.
2007 Nov 07
1
[PATCH 0/3] virtio PCI driver
...is patch series implements a PCI driver for virtio. This allows virtio devices (like block and network) to be used in QEMU/KVM. I'll post a very early KVM userspace backend in kvm-devel for those that are interested. This series depends on the two virtio fixes I've posted and Rusty's config_ops refactoring. I've tested with these patches on Rusty's experimental virtio tree.
2007 Nov 10
1
[PATCH] virtio_pci updates
...v->pci_dev = pci_dev; + snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index); + vp_dev->vdev.index = dev_index; + dev_index++; + vp_dev->vdev.dev.parent = &virtio_pci_root; - vp_dev->vdev.index = dev_index++; vp_dev->vdev.config = &virtio_pci_config_ops; + vp_dev->pci_dev = pci_dev; INIT_LIST_HEAD(&vp_dev->virtqueues); spin_lock_init(&vp_dev->lock); @@ -379,7 +392,7 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, /* register a handler for the queue with the PCI device's interrupt */ err = request...
2007 Nov 10
1
[PATCH] virtio_pci updates
...v->pci_dev = pci_dev; + snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index); + vp_dev->vdev.index = dev_index; + dev_index++; + vp_dev->vdev.dev.parent = &virtio_pci_root; - vp_dev->vdev.index = dev_index++; vp_dev->vdev.config = &virtio_pci_config_ops; + vp_dev->pci_dev = pci_dev; INIT_LIST_HEAD(&vp_dev->virtqueues); spin_lock_init(&vp_dev->lock); @@ -379,7 +392,7 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, /* register a handler for the queue with the PCI device's interrupt */ err = request...
2007 Sep 20
3
[PATCH 0/6] virtio with config abstraction and ring implementation
Hi all, This patch series attempts to come closer to unifying kvm and lguest's usage of virtio. As these two are the first implementations we've seen, I hope making them closer will make future ones closer too. Drivers now unpack their own configuration: their probe() methods are uniform. The configuration mechanism is extensible and can be backed by PCI, a string of bytes, or
2007 Sep 20
3
[PATCH 0/6] virtio with config abstraction and ring implementation
Hi all, This patch series attempts to come closer to unifying kvm and lguest's usage of virtio. As these two are the first implementations we've seen, I hope making them closer will make future ones closer too. Drivers now unpack their own configuration: their probe() methods are uniform. The configuration mechanism is extensible and can be backed by PCI, a string of bytes, or