Skip to content

0.5b - minor fixes, cleanup and non-root running.

Compare
Choose a tag to compare
@ipaqmaster ipaqmaster released this 15 May 00:42
· 179 commits to master since this release

Has been stable in my day to day usage, might as well tag it as there's some changes worth having if someone downloads a release instead of pulling master.

Overall since 0.5a:

  1. Mostly clean up of readability and some functions such as hugepage allocation, display-manger management and other minor places.

  2. Switched to using tee with sudo instead of shell redirection to deal with the script possibly running as non-root.

  3. -hyperv flag added to add some of the most common hyperv enlightenments

  4. Permissions management function added to take ownership of hugepages, disks, virtual disks, vfio groups, the bridge tap interface and otherwise before qemu starts when the script isn't running as root, then return them during cleanup. This were added as the script has been changed to not expect root privileges instead running everything as my user but opening gates where required with sudo before qemu gets started. Modern qemu versions can drop permissions after starting so I may look into that later.