search for: virtio_break_device

Displaying 20 results from an estimated 96 matches for "virtio_break_device".

2014 Apr 25
2
[PATCH 0/1] virtio_ccw: exploit virtio_break_device()
Rusty, this patch exploits the new function virtio_break_device() as of your patch set dated January 15th on linux-kernel at vger.kernel.org. The patch avoids hang situations during device unregister, when a (block) device with active IO is hot-unplugged. Heinz Graalfs (1): virtio_ccw: introduce device_lost in virtio_ccw_device drivers/s390/kvm/virtio_ccw...
2014 Apr 25
2
[PATCH 0/1] virtio_ccw: exploit virtio_break_device()
Rusty, this patch exploits the new function virtio_break_device() as of your patch set dated January 15th on linux-kernel at vger.kernel.org. The patch avoids hang situations during device unregister, when a (block) device with active IO is hot-unplugged. Heinz Graalfs (1): virtio_ccw: introduce device_lost in virtio_ccw_device drivers/s390/kvm/virtio_ccw...
2014 Apr 02
0
virtio: virtio_break_device() to mark all virtqueues broken.
Hello Rusty, the subject patch was part of your original patch series on January 15th. When is that planned to go upstream? Heinz On 01/04/14 04:58, Rusty Russell wrote: > The following changes since commit 33807f4f0daec3b00565c2932d95f614f5833adf: > > Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 (2014-03-11 11:53:42 -0700) > > are available in the
2014 Apr 25
0
[PATCH 1/1] virtio_ccw: introduce device_lost in virtio_ccw_device
When a device is lost, the common I/O layer calls the notification handler with CIO_GONE: In that event, flag device_lost as true. In case the device had been flagged as lost when the remove/offline callbacks are called, call the new virtio_break_device() function prior to invoking device_unregister(). This avoids hangs of I/O triggered via the device unregistration callbacks. Signed-off-by: Heinz Graalfs <graalfs at linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck at de.ibm.com> --- drivers/s390/kvm/virtio_ccw.c | 49 ++...
2014 Oct 07
0
[PATCH RFC 06/11] virtio: allow transports to get avail/used addresses
...| 16 ++++++++++++++++ include/linux/virtio.h | 3 +++ 2 files changed, 19 insertions(+) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 350c39b..dd0d4ec 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -961,4 +961,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 22
0
[PATCH RFC v2 08/16] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 9f5dfe3..1db44ba 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -829,4 +829,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 22
0
[PATCH RFC v3 08/16] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 9f5dfe3..1db44ba 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -829,4 +829,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 23
0
[PATCH RFC v4 08/17] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 24
0
[PATCH v3 07/41] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 25
0
[PATCH v4 08/42] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 27
0
[PATCH v5 10/45] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 27
0
[PATCH v6 11/46] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 0d3c737..55532a4 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 30
0
[PATCH v7 11/46] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 0d3c737..55532a4 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Dec 01
0
[PATCH v8 11/50] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 0d3c737..55532a4 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 22
0
[PATCH RFC v2 08/16] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 9f5dfe3..1db44ba 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -829,4 +829,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 22
0
[PATCH RFC v3 08/16] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 9f5dfe3..1db44ba 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -829,4 +829,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Oct 23
0
[PATCH RFC v4 08/17] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 24
0
[PATCH v3 07/41] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 25
0
[PATCH v4 08/42] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...
2014 Nov 27
0
[PATCH v5 10/45] virtio: allow transports to get avail/used addresses
...irtio_device - representation of a device using virtio * @index: unique position on the virtio bus diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b311fa7..5c8aef8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -827,4 +827,20 @@ void virtio_break_device(struct virtio_device *dev) } EXPORT_SYMBOL_GPL(virtio_break_device); +void *virtqueue_get_avail(struct virtqueue *_vq) +{ + struct vring_virtqueue *vq = to_vvq(_vq); + + return vq->vring.avail; +} +EXPORT_SYMBOL_GPL(virtqueue_get_avail); + +void *virtqueue_get_used(struct virtqueue *_vq) +{...