Package Base Details: linux-vfio

Git Clone URL: https://aur.archlinux.org/linux-vfio.git (read-only, click to copy)
Keywords: acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga
Submitter: zman0900
Maintainer: markzz (slowbro)
Last Packager: markzz
Votes: 65
Popularity: 1.55
First Submitted: 2015-01-30 06:41
Last Updated: 2021-11-27 19:46

Pinned Comments

markzz commented on 2020-05-01 15:44

A few things BEFORE building this package and/or commenting here:

READ THE WIKI AND UNDERSTAND HOW TO USE MAKEPKG AND EVERYTHING IT ENTAILS

If you do not read the wiki and ask a stupid question, you'll either get a stupid/terse response from me or you will be ignored. If this continues, this may require me to bring this up to a TU for account suspensions.

Remember, there's also search engines that you can also look up errors that you get related to makepkg.

WE WILL NOT MODIFY THE CONFIG FILE

This package's goal is to be as close to the Arch Linux linux package. Therefore, we use the config file from that package. We will not, unless under very special circumstances, modify the config file for any reason.

You can make changes yourself. You should be capable enough to make any changes you see fit without us making the changes on our end.

WE WILL NOT ADD X PATCH

This one has been more recent. The goal of this package is to add a MINIMAL patch set for IOMMU grouping and for VGA arbitration on Intel iGPUs. Under no circumstances will I backport patches that are not present in the linux repository on git.archlinux.org nor will I add a patch that adds a feature outside of the intended goal of this project.

If you absolutely feel that your patch is completely necessary, you MUST have ready a link to the appropriate discussion from the OFFICIAL LINUX KERNEL MAILING LISTS and/or from Arch Linux's Bug Tracker at bugs.archlinux.org. For the latter, they must be bugs present in the linux package in [core] and do NOT open a task on there if it is specific to this package (or any AUR package for that matter). I do not want to see links to reddit talking about some patch that you want to add.

If you want to add patches to your own build, that's completely fine.

DO NOT USE AN AUR HELPER THEN EXPECT US TO HELP

AUR helpers are unsupported and therefore we will not provide help to you unless you have verified it's not working with makepkg. I always make sure this package builds in a clean chroot before uploading here, so I know it builds on a clean and up to date Arch Linux system.

BINARY PACKAGES ARE PROVIDED FOR YOUR CONVENIENCE

Both maintainers of this package provide signed binary packages in unofficial pacman repositories maintained and signed by ourselves. If you do not want to compile this kernel yourself for whatever reason, feel free to make use of them.

slowbro commented on 2020-02-26 23:21

Like markzz was, I'm providing updated builds in my (unofficial) user repository, if you don't want to build this yourself.

Info here: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#slowbro

Signing key: 85186206

Details on importing a key for pacman are here.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Mine-turtle commented on 2021-10-27 05:45

HI, I'm unable to completely update my Manjaro for two update cycles now. These three are the last stragglers: linux-vfio, linux-vfio-docs, linux-vfio-headers.

This is all I get from pacman (gui) before update terminates:


  Preparing...
  Cloning linux-vfio build files...
  Generating linux-vfio-docs information...
  Failed to prepare transaction:
  Failed to generate linux-vfio-docs information

Any advice?

hurrian commented on 2021-09-11 14:37

Hello, I've noticed that this has been out of date for a while - I've updated the package to sync with the latest Arch vanilla kernel.

The ACS patch was successfully tested on a Gigabyte X570-UD, by passing through a chipset USB controller.

The i915 patch needed minor refactoring to build on 5.14, however I don't have any Intel hardware, so I am unable to test this patch.

Here's the link to my tree for 5.14.2-arch1-2: https://github.com/hurrian/linux-vfio/tree/5.14.2-arch1-2-vfio . I've also submitted this as a PR to @slowbro's repository.

Edit: The update to 5.14.2 has been merged.

daniel_shub commented on 2021-07-27 16:01

@slowbro how were you testing the package. Were you running it through a formal test suite of some sort or just seeing if passthrough was working?

slowbro commented on 2021-07-22 07:53

Hey all. I no longer have a machine that runs (or needs) this package, so I have no direct way to test it. Regardless, I will continue updating it. Please be sure to report any issues you run into.

JuniorJPDJ commented on 2021-07-11 13:31

Consider testing 5.13 ;D

JuniorJPDJ commented on 2021-07-11 04:46

I never actually played too much with github actions so I doubt I would be useful - I'm sorry ;/

Anyway - good idea! I'm not sure if it will be easy to test like that, but then someone will tell us here that it's broken ;V

slowbro commented on 2021-07-11 03:45

Thank you - I don't have permission to do that, I don't think; however, since Arch is now using Github for their repo, I was considering using my Github account + GH Actions to so a similar thing. Admittedly, I am upgrading my PC very soon and likely will no longer need this package myself.. but I would like to continue to keep it available for others, as I know how helpful it can be.

I believe the default GH Actions disk space allowance well undershoots the size of the archlinux-linux repo, so I'll have to see about getting that working with a shallow clone. If you'd be willing to help, it would be appreciated! I was previously using this repository, and was planning on continuing there: https://github.com/slowbro/linux-vfio

Edit: by the way, I am in the process of building the latest package. I like to make sure it builds & boots before releasing it, so it will be ~20min.

JuniorJPDJ commented on 2021-07-11 00:04

Hey, I'm the guy flagging it out of date whole time.

Maybe you can just add me as co-maintainer, I'll update it instead of flagging and waiting ;)

I would be doing just dumb bumps for minor versions when new version of linux would become available in core repos.

slowbro commented on 2021-07-01 05:52

I'll get this updated ASAP, sorry! Been pulled in all directions lately.

JuniorJPDJ commented on 2021-06-28 23:27

Yup, official linux package seems to use github now: https://github.com/archlinux/svntogit-packages/blob/packages/linux/trunk/PKGBUILD

This is the repo it uses: https://github.com/archlinux/linux