cloud-hypervisor sockets: use spectrum names
- CONNECT.sock → vsock.sock - ch.sock → vmm.sock
This commit is contained in:
parent
61dd3938aa
commit
6d710952ee
4 changed files with 8 additions and 8 deletions
|
|
@ -41,7 +41,7 @@ char *extract_uvm(const char *host_string) {
|
|||
}
|
||||
|
||||
char *result;
|
||||
if (asprintf(&result, "%s/uvms/%s/CONNECT.sock", home, &host_string[PREFIX_LEN]) == -1) {
|
||||
if (asprintf(&result, "%s/uvms/%s/vsock.sock", home, &host_string[PREFIX_LEN]) == -1) {
|
||||
perror("ch-proxy/extract_uvm");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
@ -59,7 +59,7 @@ char *extract_muvm(const char *host_string) {
|
|||
}
|
||||
|
||||
char *result;
|
||||
if (asprintf(&result, "/var/lib/microvms/%s/CONNECT.sock", &host_string[PREFIX_LEN]) == -1) {
|
||||
if (asprintf(&result, "/var/lib/microvms/%s/vsock.sock", &host_string[PREFIX_LEN]) == -1) {
|
||||
perror("ch-proxy/extract_muvm");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue