Added a check in vhost_vsock_common_send_transport_reset,
and only send messages on event queue when the vsock host
device is started.
Suggested-by: Stefano Garzarella
Signed-off-by: Jiang Wang
---
hw/virtio/vhost-vsock-common.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff
On Thu, Sep 23, 2021 at 2:18 AM Stefano Garzarella wrote:
>
> On Wed, Sep 22, 2021 at 10:36:24AM -0700, Jiang Wang . wrote:
> >On Wed, Sep 22, 2021 at 2:23 AM Stefano Garzarella
> >wrote:
> >>
> >> On Wed, Sep 22, 2021 at 12:00:24AM +, Jiang Wa
On Wed, Sep 22, 2021 at 2:23 AM Stefano Garzarella wrote:
>
> On Wed, Sep 22, 2021 at 12:00:24AM +, Jiang Wang wrote:
> >Datagram sockets are connectionless and unreliable.
> >The sender does not know the capacity of the receiver
> >and may send more packets than
versions.
Signed-off-by: Jiang Wang
---
v1 -> v2: use qemu cmd option to control number of queues,
removed configuration settings for dgram.
v2 -> v3: use ioctl to get features and decide number of
virt queues, instead of qemu cmd option.
v3 -> v4: change DGRAM feature bit
On Tue, Sep 14, 2021 at 5:46 AM Stefan Hajnoczi wrote:
>
> On Mon, Sep 13, 2021 at 10:18:43PM +, Jiang Wang wrote:
> > Datagram sockets are connectionless and unreliable.
> > The sender does not know the capacity of the receiver
> > and may send more packets than
-oriented sockets.
Signed-off-by: Jiang Wang
---
v1 -> v2: use qemu cmd option to control number of queues,
removed configuration settings for dgram.
v2 -> v3: use ioctl to get features and decide number of
virt queues, instead of qemu cmd option.
v3 -> v4: change DGRAM fe
-oriented sockets.
Signed-off-by: Jiang Wang
---
v1 -> v2: use qemu cmd option to control number of queues,
removed configuration settings for dgram.
v2 -> v3: use ioctl to get features and decide number of
virt queues, instead of qemu cmd option.
v3 -> v4: change DGRAM fe
On Mon, Aug 9, 2021 at 3:58 AM Stefano Garzarella wrote:
>
> On Thu, Aug 05, 2021 at 12:07:02PM -0700, Jiang Wang . wrote:
> >On Wed, Aug 4, 2021 at 1:13 AM Stefano Garzarella
> >wrote:
> >>
> >> On Tue, Aug 03, 2021 at 11:41:32PM +, Jiang Wa
On Mon, Aug 9, 2021 at 3:58 AM Stefano Garzarella wrote:
>
> On Thu, Aug 05, 2021 at 12:07:02PM -0700, Jiang Wang . wrote:
> >On Wed, Aug 4, 2021 at 1:13 AM Stefano Garzarella
> >wrote:
> >>
> >> On Tue, Aug 03, 2021 at 11:41:32PM +, Jiang Wa
On Mon, Aug 9, 2021 at 3:49 AM Stefano Garzarella wrote:
>
> On Thu, Aug 05, 2021 at 12:00:05PM -0700, Jiang Wang . wrote:
> >On Tue, Aug 3, 2021 at 11:49 PM Stefano Garzarella
> >wrote:
> >>
> >> On Wed, Aug 4, 2021 at 8:41 AM Stefano Garzarella
> >&
On Wed, Aug 4, 2021 at 1:13 AM Stefano Garzarella wrote:
>
> On Tue, Aug 03, 2021 at 11:41:32PM +, Jiang Wang wrote:
> >Datagram sockets are connectionless and unreliable.
> >The sender does not know the capacity of the receiver
> >and may send more packets than
On Tue, Aug 3, 2021 at 11:49 PM Stefano Garzarella wrote:
>
> On Wed, Aug 4, 2021 at 8:41 AM Stefano Garzarella
> wrote:
> >
> > On Tue, Aug 03, 2021 at 11:58:27AM -0700, Jiang Wang . wrote:
> > >On Wed, Jul 7, 2021 at 10:27 AM Stefano Garzarella
> > >w
-oriented sockets.
Signed-off-by: Jiang Wang
---
v1 -> v2: use qemu cmd option to control number of queues,
removed configuration settings for dgram.
v2 -> v3: use ioctl to get features and decide number of
virt queues, instead of qemu cmd option.
v3 -> v4: change DGRAM fe
On Wed, Jul 7, 2021 at 10:27 AM Stefano Garzarella wrote:
>
> On Wed, Jul 07, 2021 at 09:52:46AM -0700, Jiang Wang . wrote:
> >On Wed, Jul 7, 2021 at 1:33 AM Stefano Garzarella
> >wrote:
> >>
> >> On Tue, Jul 06, 2021 at 10:26:07PM +, Jiang Wa
On Wed, Jul 7, 2021 at 10:27 AM Stefano Garzarella wrote:
>
> On Wed, Jul 07, 2021 at 09:52:46AM -0700, Jiang Wang . wrote:
> >On Wed, Jul 7, 2021 at 1:33 AM Stefano Garzarella
> >wrote:
> >>
> >> On Tue, Jul 06, 2021 at 10:26:07PM +, Jiang Wa
On Wed, Jul 7, 2021 at 1:33 AM Stefano Garzarella wrote:
>
> On Tue, Jul 06, 2021 at 10:26:07PM +, Jiang Wang wrote:
> >Datagram sockets are connectionless and unreliable.
> >The sender does not know the capacity of the receiver
> >and may send more packets than
Datagram sockets are connectionless and unreliable.
The sender does not know the capacity of the receiver
and may send more packets than the receiver can handle.
Add two more dedicate virtqueues for datagram sockets,
so that it will not unfairly steal resources from
stream and future connection-or
On Wed, Jun 30, 2021 at 11:55 PM Stefano Garzarella wrote:
>
> On Wed, Jun 30, 2021 at 03:44:17PM -0700, Jiang Wang . wrote:
> >On Thu, Jun 24, 2021 at 7:31 AM Stefano Garzarella
> >wrote:
> >>
> >> On Wed, Jun 23, 2021 at 11:50:33PM -0700, Jiang Wang . wro
-oriented sockets.
Signed-off-by: Jiang Wang
---
v1 -> v2: use qemu cmd option to control number of queues,
removed configuration settings for dgram.
hw/virtio/vhost-user-vsock.c | 6 +++---
hw/virtio/vhost-vsock-common.c| 23 ++-
On Thu, Jun 24, 2021 at 7:31 AM Stefano Garzarella wrote:
>
> On Wed, Jun 23, 2021 at 11:50:33PM -0700, Jiang Wang . wrote:
> >Hi Stefano,
> >
> >I checked virtio_net_set_multiqueue(), which will help with following
> >changes in my patch:
> >
>
module parameter
for the vsock_vhost module. Any other ideas? Thanks.
btw, I searched Linux kernel code but did not find any examples.
Regards,
Jiang
On Thu, Jun 10, 2021 at 10:29 AM Jiang Wang . wrote:
>
> On Thu, Jun 10, 2021 at 2:40 AM Stefano Garzarella
> wrote:
> >
> >
On Thu, Jun 10, 2021 at 2:40 AM Stefano Garzarella wrote:
>
> On Thu, Jun 10, 2021 at 12:14:24AM +, Jiang Wang wrote:
> >Datagram sockets are connectionless and unreliable.
> >The sender does not know the capacity of the receiver
> >and may send more packets than
-oriented sockets.
The virtio spec patch is here:
https://www.spinics.net/lists/linux-virtualization/msg50027.html
Here is the link for the linux kernel git repo with patches
to support dgram sockets:
https://github.com/Jiang1155/linux/tree/vsock-dgram-v1
Signed-off-by: Jiang Wang
---
configure
23 matches
Mail list logo