linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] vsock/virtio: set vsock frontend ready in virtio_vsock_probe()
@ 2021-07-20  7:13 Xianting Tian
  2021-07-20  7:54 ` Jason Wang
  2021-07-20 10:23 ` Stefan Hajnoczi
  0 siblings, 2 replies; 8+ messages in thread
From: Xianting Tian @ 2021-07-20  7:13 UTC (permalink / raw)
  To: stefanha, sgarzare, davem, kuba, jasowang
  Cc: kvm, netdev, linux-kernel, Xianting Tian

Add the missed virtio_device_ready() to set vsock frontend ready.

Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
---
 net/vmw_vsock/virtio_transport.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c
index e0c2c992a..dc834b8fd 100644
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -639,6 +639,8 @@ static int virtio_vsock_probe(struct virtio_device *vdev)
 
 	mutex_unlock(&the_virtio_vsock_mutex);
 
+	virtio_device_ready(vdev);
+
 	return 0;
 
 out:
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-21  1:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20  7:13 [PATCH v2] vsock/virtio: set vsock frontend ready in virtio_vsock_probe() Xianting Tian
2021-07-20  7:54 ` Jason Wang
2021-07-20  8:36   ` Xianting Tian
2021-07-20 10:23 ` Stefan Hajnoczi
2021-07-20 10:56   ` Xianting Tian
2021-07-20 11:05   ` Xianting Tian
2021-07-20 13:12     ` Stefan Hajnoczi
2021-07-21  1:30       ` Xianting Tian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).