Re: [PATCH V2 RFC 1/9] virtio_ring: change host notification API

2013-10-28 Thread Rusty Russell
Heinz Graalfs writes: > Rusty, > > here is just patch 1 (using bool as return value in notify API). > > Thanks. > > Heinz Graalfs (9): > virtio_ring: change host notification API > virtio_ring: let virtqueue_{kick()/notify()} return a bool > virtio_net: verify if virtqueue_kick() succeeded >

[PATCH V2 RFC 1/9] virtio_ring: change host notification API

2013-10-28 Thread Heinz Graalfs
Currently a host kick error is silently ignored and not reflected in the virtqueue of a particular virtio device. Changing the notify API for guest->host notification seems to be one prerequisite in order to be able to handle such errors in the context where the kick is triggered. This patch chan

[PATCH V2 RFC 1/9] virtio_ring: change host notification API

2013-10-28 Thread Heinz Graalfs
Rusty, here is just patch 1 (using bool as return value in notify API). Thanks. Heinz Graalfs (9): virtio_ring: change host notification API virtio_ring: let virtqueue_{kick()/notify()} return a bool virtio_net: verify if virtqueue_kick() succeeded virtio_test: verify if virtqueue_kick()

Re: [PATCH V2 RFC 1/9] virtio_ring: change host notification API

2013-10-27 Thread Rusty Russell
Heinz Graalfs writes: > Currently a host kick error is silently ignored and not reflected in > the virtqueue of a particular virtio device. > > Changing the notify API for guest->host notification seems to be one > prerequisite in order to be able to handle such errors in the context > where the k

[PATCH V2 RFC 1/9] virtio_ring: change host notification API

2013-10-24 Thread Heinz Graalfs
Currently a host kick error is silently ignored and not reflected in the virtqueue of a particular virtio device. Changing the notify API for guest->host notification seems to be one prerequisite in order to be able to handle such errors in the context where the kick is triggered. This patch chan