1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-09 09:57:26 +03:00
Luca Boccassi 4a91ace5bc creds: import 'vmm.notify_socket' and use it to set
This is intended to be used with VSOCK, to notify the hypervisor/VMM, eg on the host:

qemu <...> -smbios type=11,value=io.systemd.credential:vmm.notify_socket=vsock:2:1234 -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=42

(vsock:2:1234 -> send to host on vsock port 1234, default is to send to 0 which is
the hypervisor itself)

Also on the host:

$ socat - VSOCK-LISTEN:1234,socktype=5
READY=1
STATUS=Ready.
2023-01-05 23:07:16 +01:00
..
2022-05-17 23:00:18 +02:00
2022-05-17 23:00:18 +02:00
2019-12-11 17:04:20 +01:00
2022-01-12 16:05:59 +01:00
2022-09-08 16:13:07 +02:00
2022-12-09 15:37:43 +01:00
2022-06-28 16:05:31 +02:00
2019-12-11 17:04:20 +01:00
2022-05-18 20:34:10 +02:00
2022-05-18 20:34:10 +02:00
2022-06-28 16:05:31 +02:00
2022-12-10 11:26:36 +01:00
2022-11-22 01:30:03 +01:00
2022-06-28 16:05:31 +02:00