You are not logged in.

#2701 2014-09-11 16:57:29

Ansa89
Member
Registered: 2014-08-30
Posts: 20

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Offline

#2702 2014-09-11 18:27:18

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

If you're not getting monitor sync when the VM starts, then you have a problem with VGA arbitration or device ROM.  Also, please stop specifying -bios, you don't need it.

You said you've applied the i915 VGA arbiter patch and are using i915.enable_hd_vgaarb=1... Are you actually loading i915 in the host or is it perhaps blacklisted?

Pastebin of host dmesg might be the next step if you can confirm i915 is being used.  There's also the non-VGA option with OVMF...


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2703 2014-09-12 06:42:44

Ansa89
Member
Registered: 2014-08-30
Posts: 20

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:

You said you've applied the i915 VGA arbiter patch and are using i915.enable_hd_vgaarb=1... Are you actually loading i915 in the host or is it perhaps blacklisted?

Pastebin of host dmesg might be the next step if you can confirm i915 is being used.

I'm sure the i915 is not blacklisted and it's loaded and used by the host.



aw wrote:

There's also the non-VGA option with OVMF...

I don't really know what is OVMF, but reading something on the web I understood it has something to do with UEFI.
Consider that I'm not using UEFI on the host, nor no the guest.

Offline

#2704 2014-09-12 13:11:23

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Ansa89 wrote:
aw wrote:

There's also the non-VGA option with OVMF...

I don't really know what is OVMF, but reading something on the web I understood it has something to do with UEFI.
Consider that I'm not using UEFI on the host, nor no the guest.

Look down, hint, hint


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2705 2014-09-12 18:59:12

Arakatak
Member
Registered: 2014-09-12
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Dear Forum,
I have some problems installing ATi drivers under Windows 8.1 Guest with passed through ASUS R7 260X videocard.

Basic Windows setup with default VGA driver works (the OS is able to output to the passed through videocard). Howewer, installation of drivers from the manufacturer or AMD support website results in black screen and "No Signal" error on passed through VGA port from the monitor. After host reboot I'm able to start the Guest, but can't see anything except Seabios messages and initial logo startup screen.

If I'll detach VGA-adapter with a help of Windows clipboard icon, I'll get blank screen too, but simple reboot would solve the problem.

My Software:

  • Linux 3.16.0-mainline (with patches from this guide)

  • qemu 2.1.0

  • Seabios 1.7.5

  • Weston with XWayland to handle SDL qemu windows

  • xf86-video-intel

On host - UEFI without CSM

My Hardware:

  • ASRock Z97 Extreme4 motherboard

  • Intel i7-4790K (supports vt-d)

  • HD4600 as primary host video adapter

  • ASUS R7260X-DC2OC-2GD5 passed through to Windows Guest

cat /proc/cmdline

root=/dev/disk/by-uuid/*** rw initrd=/initramfs-linux-mainline.img resume=/dev/disk/by-uuid/*** quiet intel_iommu=on i915.enable_hd_vgaarb=1

Additional kernel boot parameters "vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1" didn't help.

cat /etc/mkinitcpio.conf

...
MODULES="i915"
...
cat /etc/modprobe.d/blacklist.conf

blacklist radeon
dmesg | grep -e DMAR -e IOMMU

[    0.000000] ACPI: DMAR 0x00000000BD341FF0 0000B8 (v01 INTEL  BDW      00000001 INTL 00000001)
[    0.000000] Intel-IOMMU: enabled
[    0.021929] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
[    0.021933] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
[    0.021997] IOAPIC id 8 under DRHD base  0xfed91000 IOMMU 1
[    0.465600] DMAR: No ATSR found
[    0.465618] IOMMU 0 0xfed90000: using Queued invalidation
[    0.465619] IOMMU 1 0xfed91000: using Queued invalidation
[    0.465620] IOMMU: Setting RMRR:
[    0.465628] IOMMU: Setting identity map for device 0000:00:02.0 [0xbf000000 - 0xcf1fffff]
[    0.466660] IOMMU: Setting identity map for device 0000:00:14.0 [0xbdea8000 - 0xbdeb6fff]
[    0.466677] IOMMU: Setting identity map for device 0000:00:1a.0 [0xbdea8000 - 0xbdeb6fff]
[    0.466692] IOMMU: Setting identity map for device 0000:00:1d.0 [0xbdea8000 - 0xbdeb6fff]
[    0.466703] IOMMU: Prepare 0-16MiB unity mapping for LPC
[    0.466708] IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
[    0.532566] [drm] DMAR active, disabling use of stolen memory
cat qemu-win

#!/bin/bash
QEMU_AUDIO_DRV=alsa QEMU_ALSA_DAC_DEV="hw:1,0" QEMU_ALSA_ADC_DEV="hw:1,0" qemu-system-x86_64 -enable-kvm \
 -M q35 \
 -m 8G \
 -cpu host \
 -smp 6,sockets=1,cores=3,threads=2 \
 -bios /usr/share/qemu/bios.bin \
 -vga none \
 -device virtio-scsi-pci,id=scsi \
 -drive file=/dev/System/Windows8Guest,id=disk,format=raw,discard=on -device scsi-hd,drive=disk \
 -drive file=/mnt/data/win.iso,id=isocd -device scsi-cd,drive=isocd \
 -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
 -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
 -device vfio-pci,host=01:00.1,bus=root.1,addr=00.1,id=exthda \
 -device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 \
 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
 -usb -usbdevice host:24ae:2000

Please, provide me any suggestions. I'll post additional info if required.
Thanks in advance

Offline

#2706 2014-09-13 01:57:22

tritron4
Member
Registered: 2012-04-14
Posts: 153

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

I have dell laptop with i3 i3-4010U it comes with just hd4200 video card.  I wonder if  its possible to have have it working ?
I get this :
-device vfio-pci,host=00:02.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: VFIO 0000:00:02.0 BAR 2 mmap unsupported. Performance may be slow
qemu-system-x86_64: -device vfio-pci,host=00:03.0,bus=root.1,addr=00.1: vfio: Error: Failed to setup INTx fd: Device or resource busy
qemu-system-x86_64: -device vfio-pci,host=00:03.0,bus=root.1,addr=00.1: Device initialization failed.
qemu-system-x86_64: -device vfio-pci,host=00:03.0,bus=root.1,addr=00.1: Device 'vfio-pci' could not be initialized
[root@localhost ~]# winstart.sh
qemu-system-x86_64: -device vfio-pci,host=00:02.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: VFIO 0000:00:02.0 BAR 2 mmap unsupported. Performance may be slow

Offline

#2707 2014-09-13 02:13:57

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

tritron4 wrote:

I have dell laptop with i3 i3-4010U it comes with just hd4200 video card.  I wonder if  its possible to have have it working ?

Not with the current code


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2708 2014-09-13 08:08:59

slis
Member
Registered: 2014-06-02
Posts: 127

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

I just tried XenGT some other day, and it's working very well. Intel igpu can be passed/SHARED with XenGT (warning!!! they say all 4th gen core processors but mine i3-4130 hd 4400 doesn't work, while 4770k hd 4600 works).

Intel also said that they have been working on KVM and  it should be soon (couple of months) supported.

Last edited by slis (2014-09-13 08:16:54)

Offline

#2709 2014-09-13 11:01:14

Krobar
Member
Registered: 2014-04-12
Posts: 17

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

I'm trying to pass through a Sat card and it mostly works but I suffer occasional break ups in channel feeds (Signal is fine and card is OK when run on bare metal). The VM is Ubuntu and the problem appears to be made worse by higher bandwidth (HD channels). A windows VM on the same system showed a DPC latency of 2-4000, is this likely to be part of the cause? Does anyone know how I might fix this?

Offline

#2710 2014-09-13 12:44:51

abdullah
Member
Registered: 2014-06-10
Posts: 34

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

@ Arakatak,

try to go to device manager under windows, navigate to display adapter, click on it, now disable it ( Don't un install ), after displaying the adapter, windows should blink, now install the ATI drivers.

This problem comes from regular installations, not KVM/QEMU


@EDIT:@

Q: I hate running sudo every time I want to boot a VM, is it not possible to assign the right groups to the Hardware access?

Last edited by abdullah (2014-09-13 12:57:14)

Offline

#2711 2014-09-13 14:03:55

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

abdullah wrote:

Q: I hate running sudo every time I want to boot a VM, is it not possible to assign the right groups to the Hardware access?

It is, you need to give the user access to the vfio group device file(s) and you need to set the locked memory limit sufficiently high enough to pin all of guest memory.  The latter is the tricky part.  libvirt does both of these for you, which is one of the reasons motivating many to move to libvirt managed VMs.


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2712 2014-09-13 15:45:25

fabian-z
Member
Registered: 2014-09-12
Posts: 3

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

In case someone may have use for it:
I adapted the i915 vgaarb patch to the current 3.17-rc4 linux-mainline kernel (failed to apply).
The VGA arbiter patch apparently got applied upstream & the ACS override patch still applies cleanly.

You can find my 3.17-rc4 PKGBUILD tarball (adapted from AUR package) including patches here: linux-mainline-3_17-vfio.tar.gz
Just extract and build with makepkg as usual.

$ sha256sum linux-mainline-3_17-vfio.tar.gz 
b72350c959932516b39cb309e94abbe4a3b4f83bf238c9055859bccb3175d07f  linux-mainline-3_17-vfio.tar.gz

Kernel is working great for my setup (although I don't currently use libvirt, so I couldn't test this).

Last edited by fabian-z (2014-09-13 15:48:20)

Offline

#2713 2014-09-13 22:16:24

Tyrewt
Member
Registered: 2014-09-13
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

I've got a Windows7 VM with PCI Pass-through. The PCI device is detected and drivers installed, though not in use with a Windows error: "The device cannot find enough free resources that it can use (code 12)".    Any suggestions on how to resolve this?

Xw9KuNxl.png

Full size image: http://i.imgur.com/Xw9KuNx.png

Moderator edit [ewaller] Converted over size image tags to url tags  https://wiki.archlinux.org/index.php/Fo … s_and_Code

Last edited by Tyrewt (2014-09-13 22:31:08)

Offline

#2714 2014-09-14 02:48:14

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Tyrewt wrote:

I've got a Windows7 VM with PCI Pass-through. The PCI device is detected and drivers installed, though not in use with a Windows error: "The device cannot find enough free resources that it can use (code 12)".    Any suggestions on how to resolve this?

How about following any of the directions in the OP or the link below?


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2715 2014-09-14 03:09:20

Tyrewt
Member
Registered: 2014-09-13
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:
Tyrewt wrote:

I've got a Windows7 VM with PCI Pass-through. The PCI device is detected and drivers installed, though not in use with a Windows error: "The device cannot find enough free resources that it can use (code 12)".    Any suggestions on how to resolve this?

How about following any of the directions in the OP or the link below?

That's not exactly being helpful. More specifically, on which of the 109 pages are you refering to?

Offline

#2716 2014-09-14 03:12:22

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Tyrewt wrote:
aw wrote:
Tyrewt wrote:

I've got a Windows7 VM with PCI Pass-through. The PCI device is detected and drivers installed, though not in use with a Windows error: "The device cannot find enough free resources that it can use (code 12)".    Any suggestions on how to resolve this?

How about following any of the directions in the OP or the link below?

That's not exactly being helpful. More specifically, on which of the 109 pages are you refering to?

OP = Original Post.  Page 1, post 1.  There are also only about 10 posts so far in the link below, all very helpful if I do say so myself.


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2717 2014-09-14 04:38:35

Tyrewt
Member
Registered: 2014-09-13
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:
Tyrewt wrote:
aw wrote:

How about following any of the directions in the OP or the link below?

That's not exactly being helpful. More specifically, on which of the 109 pages are you refering to?

OP = Original Post.  Page 1, post 1.  There are also only about 10 posts so far in the link below, all very helpful if I do say so myself.

Neither explicitly mention the issue I'm addressing. Thanks anyway though.

Offline

#2718 2014-09-14 09:30:16

nbhs
Member
From: Montevideo, Uruguay
Registered: 2013-05-02
Posts: 402

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Looks like the lastest ovmf git works with the q35 chipset.

Last edited by nbhs (2014-09-14 09:35:44)

Offline

#2719 2014-09-14 13:02:46

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Tyrewt wrote:
aw wrote:
Tyrewt wrote:

That's not exactly being helpful. More specifically, on which of the 109 pages are you refering to?

OP = Original Post.  Page 1, post 1.  There are also only about 10 posts so far in the link below, all very helpful if I do say so myself.

Neither explicitly mention the issue I'm addressing. Thanks anyway though.

You're right, neither explicitly mention a Code 12 error because if you've configured things properly with your GPU as the primary VM graphics (hint, hint), a Code 12 error isn't something that happens.


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2720 2014-09-14 16:57:51

Tyrewt
Member
Registered: 2014-09-13
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:

You're right, neither explicitly mention a Code 12 error because if you've configured things properly with your GPU as the primary VM graphics (hint, hint), a Code 12 error isn't something that happens.

Wonder how many of your other posts waste peoples time like this. Total poison to a community forum.

Offline

#2721 2014-09-14 17:21:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,728

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

https://wiki.archlinux.org/index.php/Fo … ther_Users
https://wiki.archlinux.org/index.php/Fo … esponsible
https://wiki.archlinux.org/index.php/Fo … troduction

I think the perception here is that the information is available for the reading.  I also think that aw is trying to lead you to where you can find the answer.
I personally do not know id aw is correct, or not -- I do not have this configuration and have no experience with it.

Last edited by ewaller (2014-09-14 17:21:56)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#2722 2014-09-14 17:34:21

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Tyrewt wrote:
aw wrote:

You're right, neither explicitly mention a Code 12 error because if you've configured things properly with your GPU as the primary VM graphics (hint, hint), a Code 12 error isn't something that happens.

Wonder how many of your other posts waste peoples time like this. Total poison to a community forum.

Here's how it works; if you show some effort that you've researched how this is supposed to work, followed the guides to make it work, and still have a unique issue and provide sufficient information to attempt to start helping you, then I and others on this thread will go out of our way to help you.  If you only drop a screenshot with an obviously broken setup (*), showing no evidence of attempting to understand the configuration or debug it yourself then yeah, you're going to get the same amount of effort from me as you're putting into the problem yourself.

(*) I tried to hint at this previously, but to be clear, your device manager shows two graphics devices and you're showing a screenshot of a QEMU SDL window.  This means you're using using an emulated VGA device in addition to a assigned VGA device.  There are some reports of Radeons working in this configuration, but they're typically one-offs.  The method suggested in the original post is to configure the VM with only the assigned VGA device in the guest.  There are also potentially patches required to make this work depending on your kernel version, QEMU version, and host configuration, none of which were shared with us.


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2723 2014-09-14 17:48:53

Arakatak
Member
Registered: 2014-09-12
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

abdullah wrote:

@ Arakatak,

try to go to device manager under windows, navigate to display adapter, click on it, now disable it ( Don't un install ), after displaying the adapter, windows should blink, now install the ATI drivers.

This problem comes from regular installations, not KVM/QEMU

It didn't help. Why do you think it's not qemu/kvm? What means "regular installations"? Is it a Windows 8.1 Setup? If so, i also experimented with Windows 7.

At first Win7 showed some light on possible problems. I installed Catalyst drivers and on next reboot received BSOD (code 0x00000116 on first boot and 0x0000050 on sequential reboots). I followed the advice in this post and removed 01:00.1 audio device from passthrough, then reinstalled the drivers. Although tray icon device detach still worked wrong (resulting in still picture from the last moment before VGA detach), graphics device have functioned well with ATi driver.

Unfortunately, i wasn't able to make a fully functional fresh install of Win7 VM without audio 01:00.1 device passthrough. The problems were the same as i mentioned earlier (black screen after driver setup and reboot, but no "No Signal" error).

For the reference i provide my start scripts:

cat qemu-win7-setup qemu-win7

#!/bin/bash

QEMU_AUDIO_DRV=alsa QEMU_ALSA_DAC_SIZE_IN_USEC=0 QEMU_ALSA_DAC_PERIOD_SIZE=256 QEMU_ALSA_DAC_BUFFER_SIZE=512 QEMU_ALSA_DAC_DEV="hw:1,0" QEMU_ALSA_ADC_DEV="hw:1,0" qemu-system-x86_64 -enable-kvm \
 -M q35 \
 -m 8G \
 -cpu host \
 -smp 6,sockets=1,cores=3,threads=2 \
 -bios /usr/share/qemu/bios.bin \
 -vga none \
 -device virtio-scsi-pci,id=scsi \
 -drive file=/dev/System/Windows7Guest,id=disk,format=raw,discard=on -device scsi-hd,drive=disk \
 -drive file="/mnt/data/win.iso",id=isocd -device scsi-cd,drive=isocd \
 -drive file=/mnt/data/virtio-win-0.1-81.iso,id=virtiocd -device ide-cd,bus=ide.1,drive=virtiocd \
 -boot once=d \
 -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
 -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,id=extvga \
 -device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 \
 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
 -usb -usbdevice host:046d:c328 \
 -usbdevice host:046d:c247

#!/bin/bash

QEMU_AUDIO_DRV=alsa QEMU_ALSA_DAC_SIZE_IN_USEC=0 QEMU_ALSA_DAC_PERIOD_SIZE=256 QEMU_ALSA_DAC_BUFFER_SIZE=512 QEMU_ALSA_DAC_DEV="hw:1,0" QEMU_ALSA_ADC_DEV="hw:1,0" qemu-system-x86_64 -enable-kvm \
 -M q35 \
 -m 8G \
 -cpu host \
 -smp 6,sockets=1,cores=3,threads=2 \
 -bios /usr/share/qemu/bios.bin \
 -vga none \
 -device virtio-scsi-pci,id=scsi \
 -drive file=/dev/System/Windows7Guest,id=disk,format=raw,discard=on -device scsi-hd,drive=disk \
 -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
 -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,id=extvga \
 -device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 \
 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
 -usb -usbdevice host:046d:c328 \
 -usbdevice host:046d:c247

I welcome discussions on these problems, as it may help solve them.

abdullah wrote:

@EDIT:@

Q: I hate running sudo every time I want to boot a VM, is it not possible to assign the right groups to the Hardware access?

Every additional layer of API complicates troubleshooting. Why should i use libvirt when i didn't even have minimalistic, but functional VM with 100% VGA passthrough support? As for complexity, i need proper documentation on VGA passthrough with libvirt (and possibly OVMF VGA passthrough, as my VGA functions well on native UEFI). So far i found neither.

Offline

#2724 2014-09-14 19:16:01

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Arakatak wrote:

As for complexity, i need proper documentation on VGA passthrough with libvirt (and possibly OVMF VGA passthrough, as my VGA functions well on native UEFI). So far i found neither.

libvirt with VGA passthrough is difficult and usually results in using <qemu:arg> elements to hack around lack of support for the x-vga=on option of vfio.  A better route would be to set the emulator in the VM xml to a wrapper script that adds the x-vga=on option so that libvirt can properly manage the vfio files and locked memory.  An example of such a wrapper can be found here:

https://access.redhat.com/documentation … /virt.html

In the example, the option ",tx=time" is added to every instance of a virtio-net-pci.  A similar option for our application here might look something like 's|host=01:00.0|host=01:00.0,x-vga=on|g'

The benefit of OVMF is that VGA is not required.  You can find a write-up of how to use it here:

http://vfio.blogspot.com/2014/08/primar … t-vga.html
http://vfio.blogspot.com/2014/08/does-m … t-efi.html
http://vfio.blogspot.com/2014/09/libvir … -ovmf.html


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#2725 2014-09-15 04:10:58

sinny
Member
Registered: 2014-05-24
Posts: 75

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Tyrewt wrote:

Wonder how many of your other posts waste peoples time like this. Total poison to a community forum.

wow... is this some kind of appreciation for all the hard work AND great effort at keeping public well-informed about some really complex/experimental stuff?
truly, ignorance is a bliss...

@aw:
is there any way to track any kernel patches related to vga passthrough to know what (for people living far from kernel contribution realms)? some kind of newsgroup or any kind of filter on some website?
i mean, you mostly post about it on  your blog, but just in case you "miss" something

Offline

Board footer

Powered by FluxBB