Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 991e960

Browse files
committed
vsock ctlfd needs write buffer
Signed-off-by: Peng Tao <bergwolf@gmail.com>
1 parent 80ff863 commit 991e960

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,8 +1294,10 @@ static struct hyper_event_ops hyper_ttyfd_ops = {
12941294

12951295
static struct hyper_event_ops hyper_vsock_ctlfd_ops = {
12961296
.read = hyper_ctlfd_read,
1297+
.write = hyper_event_write,
12971298
.hup = hyper_event_hup,
12981299
.rbuf_size = 65536,
1300+
.wbuf_size = 65536,
12991301
};
13001302

13011303
static struct hyper_event_ops hyper_vsock_ttyfd_ops = {

0 commit comments

Comments
 (0)