Superseded by:
https://lore.proxmox.com/pve-devel/20250728124800.96685-1-f.scha...@proxmox.com/

On 02/06/2025 15:32, Filip Schauer wrote:
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(-)



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

Reply via email to