microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
564 stars 253 forks source link

Start nvidia-persistenced and nv-fabricmanager daemons in init script #2201

Closed katiewasnothere closed 1 month ago

katiewasnothere commented 1 month ago

This PR adds the ability to run nvidia-persistenced and nv-fabricmanager in the init script. Does not fail the init script if the binaries for these daemons are not on the system. This PR additionally adds helper functions for writing to dmesg.

This is the first iteration of this support. This work is incomplete without the ability to get insights into the statuses of the daemons and collect their logs. Most daemons write logs using syslog, however, since we do not use systemd, we need an alternative to this in the future.