Andrew Walbran
|
36785ff1eb
Refactor suggested in code review.
|
1 year ago |
Andrew Walbran
|
732eb1bb96
Rename variables and add comments.
|
1 year ago |
Andrew Walbran
|
6a62416024
Rename RingBuffer methods.
|
1 year ago |
Andrew Walbran
|
277c474c7b
Add helper functions to find connections.
|
1 year ago |
Andrew Walbran
|
01989a2a88
Return error rather than panicking for invalid token.
|
1 year ago |
Andrew Walbran
|
fba1344ce9
Handle disconnection.
|
1 year ago |
Andrew Walbran
|
79f08dd8e6
Allow incoming connections.
|
1 year ago |
Andrew Walbran
|
e6cf84e2c8
Add constructor for Connection.
|
1 year ago |
Andrew Walbran
|
c6984d79b6
Handle credit requests.
|
1 year ago |
Andrew Walbran
|
54bc186612
Rename VirtIOSocket::poll_recv to poll.
|
1 year ago |
Andrew Walbran
|
861a1c5d7d
Add Rustdoc.
|
1 year ago |
Andrew Walbran
|
da404e7243
Reduce info logs to debug.
|
1 year ago |
Andrew Walbran
|
0573c13b5c
Add VsockEventType::ConnectionRequest.
|
1 year ago |
Andrew Walbran
|
e8fb05435b
Panic rather than returning error if virtqueue buffer is too small.
|
1 year ago |
Andrew Walbran
|
8d936c6139
Use multiconnectionmanager in example.
|
1 year ago |
Andrew Walbran
|
5023129f32
Pass ConnectionInfo to connect.
|
1 year ago |
Andrew Walbran
|
b2b209e7f8
Add test for VsockConnectionManager.
|
1 year ago |
Andrew Walbran
|
159961172c
Add VsockConnectionManager that can handle multiple connections.
|
1 year ago |
Andrew Walbran
|
34a1a7520a
Pass closure to handle packet.
|
1 year ago |
Andrew Walbran
|
cc157a367a
Factor out method to convert header to event.
|
1 year ago |
Andrew Walbran
|
1db89bd7de
Separate connection tracking from low level vsock driver.
|
1 year ago |
chyyuu
|
4d7038f214
Merge pull request #90 from rcore-os/vsockcleanup
|
1 year ago |
Alice Wang
|
c457edd8bd
Add the vsock feature bits introduced in virtio v1.2 spec (#89)
|
1 year ago |
Andrew Walbran
|
84c2ab32f9
Add method to get CID assigned to VM.
|
1 year ago |
Andrew Walbran
|
9a5cb195c6
Allocate RX buffers individually rather than splitting one big buffer.
|
1 year ago |
Andrew Walbran
|
f9191727c4
Take VsockAddr to connect method rather than separate CID and port.
|
1 year ago |
Andrew Walbran
|
1d79ac893e
Merge pull request #87 from rcore-os/vsocktest
|
1 year ago |
Andrew Walbran
|
2b545f5eb0
Use AtomicBool for fake queue notification status.
|
1 year ago |
Andrew Walbran
|
9a21715e0d
Factor out helper method to wait for queue.
|
1 year ago |
Andrew Walbran
|
0f79908c16
Use constants for strings in test.
|
1 year ago |