Support calling from inside via vsock

This commit is contained in:
Anmin Liu
2024-05-06 15:00:48 +00:00
committed by Tate, Hongliang Tian
parent 48f69c25a9
commit 60dd17fdd3
24 changed files with 582 additions and 558 deletions

View File

@ -9,5 +9,5 @@ cd ${VSOCK_DIR}
echo "Start vsock test......"
./vsock_client
./vsock_server
# ./vsock_server
echo "Vsock test passed."

View File

@ -12,7 +12,7 @@
int main()
{
int sock;
char *hello = "Hello from asterinas";
char *hello = "echo 'Hello from host'\n";
char buffer[1024] = { 0 };
struct sockaddr_vm serv_addr;