Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - linux-vfio

Package Base Details: linux-vfio

Git Clone URL: https://aur-dev.archlinux.org/linux-vfio.git (read-only)
Keywords: acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga
Submitter: zman0900
Maintainer: zman0900 (markzz)
Last Packager: markzz
Votes: 28
Popularity: 2.995029
First Submitted: 2015-01-30 06:41
Last Updated: 2016-12-10 05:37

Pinned Comments

electricprism commented on 2016-01-04 04:30

Requires importing GPG Keys to build

# Linus Torvalds
gpg --recv-keys 79BE3E4300411886

# Greg Kroah-Hartman (Linux kernel stable release signing key)
gpg --recv-keys 38DBBDC86092693E

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Brayden.Dean commented on 2015-10-07 03:33

Thanks, just needed to uncomment the auto key retrieval

zman0900 commented on 2015-10-06 02:35

https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

Brayden.Dean commented on 2015-10-06 01:37

I keep getting

==> Verifying source file signatures with gpg...
linux-4.2.tar ... FAILED (unknown public key 79BE3E4300411886)
patch-4.2.2 ... FAILED (unknown public key 38DBBDC86092693E)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build linux-vfio.

how should I fix it?

ohetfi commented on 2015-10-01 14:53

Really nice, Dan. Appreciate your effort in packaging that. Currently trying it out. :)

zman0900 commented on 2015-10-01 02:18

I just put together linux-vfio-lts which is currently just a copy of linux-vfio-4.1.6 with a different name: https://aur.archlinux.org/packages/linux-vfio-lts That will let you install both at once. I'm working on getting that upgraded to 4.1.9 soon, assuming it doesn't break anything for me.

I have the hd 7850 for the host and an r9 280x for the vm and those both end up in the same iommu group without the acs patch.

I'm pretty sure my 7850 isn't supposed to be supported by the amdgpu driver, so that shouldn't be the problem. Don't think the 280x is supported either.

ohetfi commented on 2015-10-01 01:40

My motherboard is an ASRock Z87 Extreme6. If I only attach a GTX 980 and a Renesas USB 3.0 card, I do not need to enable the ACS Override patch.

But since I attach IBM M1015 card but for the host (not assigning the vfio-pci driver), I have to enable the ACS Override patch.

If I recall correctly the IOMMU groups have the same grouping as it used to in 4.1.6. Last night I just downgraded back to 4.1.6 using your link, thanks! Is there any way in Arch AUR to install both version of the same kernel edition (linux-vfio-4.1.6 and linux-vfio-4.2.1) so I can just switch on GRUB menu?

Does your HD Radeon issue is because of the new amdgpu driver on 4.2?

zman0900 commented on 2015-10-01 00:38

I am using OVFM also. My vm gets 6 cores and 8 GB memory, and I also require the acs override for my motherboard (asrock z77 extreme 6). Are you also using acs override? Maybe the patch isn't working properly anymore.

But I also had other problems with this 4.2.1 kernel. I have a hd 7850 for my host gpu with a triple monitor setup. A big 1440p in the middle and two rotated 1080p on either side. As soon as I would log into gnome, the main 1440p screen would just shut off.

ohetfi commented on 2015-09-30 15:44

Yup, my setup also broken with this update. Though I found a workaround after seeing this ticket [1]. In kernel 4.1.6, I always had 8 vcpus with 16 GB of memory, but in 4.2.1 I need to decrease the settings to just 4 vcpus with 8 GB of memory. Seems related to [2] and [3], which told us that the miscoding looks like on the OVMF side. Do you happen to also use OVMF?

Meanwhile, I'm struggling to downgrade to 4.1.6 until this issue has resolved. :)

[1] https://github.com/tianocore/edk2/issues/21
[2] https://www.redhat.com/archives/vfio-users/2015-September/msg00395.html
[3] http://thread.gmane.org/gmane.linux.kernel/1952205/focus=1996025

ohetfi commented on 2015-09-30 15:44

Yup, my setup also broken with this update. Though I found a workaround after seeing this ticket [1]. In kernel 4.1.6, I always had 8 vcpus with 16 GB of memory, but in 4.2.1 I need to decrease the settings to just 4 vcpus with 8 GB of memory. Seems related to [2] and [3], which told us that the miscoding looks like on the OVMF side. Do you also use OVMF?

Meanwhile, I'm struggling to downgrade to 4.1.6 until this issue has resolved. :)

[1] https://github.com/tianocore/edk2/issues/21
[2] https://www.redhat.com/archives/vfio-users/2015-September/msg00395.html
[3] http://thread.gmane.org/gmane.linux.kernel/1952205/focus=1996025

zman0900 commented on 2015-09-30 01:55

So, I've upgraded this to 4.2.1, but it has completely broken gpu passthrough for me, among various other things, so I can't say I recommend actually upgrading to this. I am open to any suggestions as to how to fix this.

If you need an older version, click the "view changes" link above. 4.1.6 is the last version that works for me, which you can download here: https://aur.archlinux.org/cgit/aur.git/snapshot/aur-5edfba302fe2307a9e1920d5b30324e3d5147ade.tar.gz