Files
systemd/src/shared
Christian Brauner aa02ad284e shared: add AddStorage / RemoveStorage to io.systemd.MachineInstance
Define two new methods on the generic 'MachineInstance' Varlink
interface that systemd-vmspawn (this series) and (future)
systemd-nspawn implement on their per-machine control sockets:

  AddStorage(fileDescriptorIndex, name, config?) -> ()
      Attach a storage volume — the caller passes an fd previously
      acquired from a StorageProvider, plus a unique name of the form
      '<provider>:<volume>' that identifies this binding for later
      removal, plus a backend-specific 'config' field (vmspawn: guest
      device type; future nspawn: mount path).

  RemoveStorage(name) -> ()
      Detach a previously-added storage volume.

Plus errors NoSuchStorage, StorageExists, StorageImmutable (the volume
was attached at boot and cannot be removed), BadConfig, and
ConfigNotSupported. Names follow the io.systemd.StorageProvider
vocabulary (NoSuchVolume, BadTemplate, TypeNotSupported, etc.) so the
two interfaces are visually consistent.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-05-06 10:30:17 +02:00
..
2025-05-24 14:00:44 +02:00
2025-05-26 20:24:47 +02:00
2025-05-24 14:00:44 +02:00
2025-11-09 18:13:44 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
…
…
2026-01-05 21:29:52 +09:00
2026-05-01 07:10:31 +02:00
2026-05-01 07:10:31 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2026-01-21 15:49:58 +01:00
2026-04-24 08:33:56 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2026-04-10 15:08:03 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2026-02-20 16:22:00 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-10-16 03:26:39 -07:00
2025-07-08 10:22:59 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2026-04-02 15:12:52 +02:00
2026-04-02 15:12:52 +02:00
2025-11-25 17:34:48 +01:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-15 07:44:24 +01:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-04-23 19:10:15 +02:00
2025-12-15 08:50:13 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00