Skip to content

Releases: ipaqmaster/vfio

0.4b

20 Jul 23:58
Compare
Choose a tag to compare
0.4b Pre-release
Pre-release

More small things that might as well be tagged onto 0.4 as release b.

  • regexCleanup (function) added to remove any leading or trailing | vertical bar/pipe characters in the regexes (they caused grepping problems if seen)
  • The IOMMU check has been updated to look inside /sys/class/iommu instead of lsmod for confirmation. Has been more robust to do it that way.
  • Various touchups on script error/debug output for clarity
  • Some script comments too

Version 0.4a

08 Jun 08:18
Compare
Choose a tag to compare

Quick bugfix of 0.4 where the cleanup function would try to rebind PCI devices to their original drivers even if the only script arguments are -image and -cdrom.

Relocated it to only trigger appropriately (When PCI Passthrough related args have been specified)

Version 0.4

06 Jun 16:29
Compare
Choose a tag to compare

Worth tagging this as its own release given the huge amount of useful changes since the first commit.

Noteworthy improvements from 0.3:

  • Better documentation, default settings and script output readability in general.

  • New script arguments such as: -run, -taskset and --help

  • Script dry-runs by default to help tune options/regex's before acting. Helps get an idea of what might happen and lists matched devices before executing. Sudo only needed with the real -run argument.

  • More robust and safer pci device re-binding after the VM exits, reverting from vfio-pci back to what a device had beforehand. Also helps preserve DisplayPort/HDMI audio on host return and inherently allows support for PCI devices other than GPUs.

  • Cleanup function and signal trap in case the script gets terminated early.

  • Light taskset/chrt qemu thread pinning support (Plan to soon update this with cpuset/cgroups to also support keeping other pids OUT of guest-only cores)

  • efi-framebuffer unbinding/rebinding(afterwards) to avoid any mmap issues once the VM starts with a GPU attached.

  • usb/pci detection functions made cleaner and with easily readable dry-run output.

Version 0.3

03 May 12:16
Compare
Choose a tag to compare

First working version/rewrite and considerably first release.

Tests of this script proved successful on my Sabertooth X79, 3930K computer and recent new addition of an Aorus x570, Ryzen 3900X build.

Was able to play Blizzard's Overwatch with no hiccups and upon shut down was presented with my lightdm login screen afterwards like it never happened.

Bridge creation for the VM and destruction during cleanup worked well, NetworkManager was successfully bought back up for the host's day to day networking.