public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container v3 0/4] implement device hotplug
@ 2025-06-02 13:32 Filip Schauer
  2025-06-02 13:32 ` [pve-devel] [PATCH container v3 1/4] extract apparmor profile & namespace switch to a helper Filip Schauer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Filip Schauer @ 2025-06-02 13:32 UTC (permalink / raw)
  To: pve-devel

For now this only includes adding devices to a running container.
(not removing or editing existing devices)

Changes since v1:
* Reduce code repetition between lxc-pve-prestart-hook and
  device_passthrough_hotplug by extracting passthrough device node
  creation to a helper.

Changes since v2:
* Remove superfluous comments stating the obvious
* Ensure that the path in the container where the device node is placed
  exists
* Split long lines

Filip Schauer (4):
  extract apparmor profile & namespace switch to a helper
  extract passthrough device node creation to a helper
  config: support printing a device
  implement device hotplug

 src/PVE/LXC.pm            | 182 +++++++++++++++++++++++++++++++-------
 src/PVE/LXC/Config.pm     |  25 ++++++
 src/lxc-pve-prestart-hook |  21 +----
 3 files changed, 177 insertions(+), 51 deletions(-)

-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-17  9:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-02 13:32 [pve-devel] [PATCH container v3 0/4] implement device hotplug Filip Schauer
2025-06-02 13:32 ` [pve-devel] [PATCH container v3 1/4] extract apparmor profile & namespace switch to a helper Filip Schauer
2025-06-02 13:32 ` [pve-devel] [PATCH container v3 2/4] extract passthrough device node creation " Filip Schauer
2025-06-02 13:32 ` [pve-devel] [PATCH container v3 3/4] config: support printing a device Filip Schauer
2025-06-02 13:32 ` [pve-devel] [PATCH container v3 4/4] implement device hotplug Filip Schauer
2025-07-17  9:28   ` Wolfgang Bumiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal