Mike Yuan
bd546b9b48
machine-credential: introduce MachineCredentialContext
...
This allows more straightforward memory management and
the use of static destructor.
Requested (by me) in https://github.com/systemd/systemd/pull/30143#discussion_r1401980763
2023-12-14 08:50:44 +00:00
Lennart Poettering
6045958bab
machine-credential: fix error logging
...
Remove duplicate logging: let exclusively
machine_credential_load()/machine_credential_set() log, and not the
caller again.
2023-11-22 15:16:32 +01:00
Sam Leonard
f72a085641
vmspawn: added vsock functionality
...
also includes cosmetic fixups from: https://github.com/systemd/systemd/pull/29874
2023-11-09 10:36:25 +00:00
Yu Watanabe
d9c4917b9e
vmspawn: fix memleak
...
Fixes CID#1523912.
2023-11-08 07:54:10 +01:00
Zbigniew Jędrzejewski-Szmek
0919dbebb0
vmspawn: add missing include
...
../src/src/vmspawn/vmspawn-util.c:33:13: error: implicit declaration of function ‘access’; did you mean ‘accept’? [-Werror=implicit-function-declaration]
2023-11-07 22:50:37 +01:00
Zbigniew Jędrzejewski-Szmek
6527d175cd
vmspawn: shorted --help output to fit in 80 columns
...
I think that "SB" is good enough here, the option name shows the unabbreviated
name.
2023-11-07 18:59:19 +01:00
Sam Leonard
4291f4461e
vmspawn: extend kernel cmdline with extra args
...
This changes how the "extra" command line arguments passed to vmspawn
are handled.
Previously they were appended to the QEMU command line directly.
Now they are appended to the kernel command line using SMBIOS instead.
2023-11-06 11:46:38 +00:00
Sam Leonard
9de3cc1484
vmspawn: added initial code for vmspawn
...
vmspawn-settings.c is currently empty but this will be used in future to
house code for parsing settings from a file
2023-11-02 16:21:40 +00:00