[vfio-users] Fwd: vga and subsystem

Will Marler will at wmarler.com
Thu Aug 20 17:35:08 UTC 2015


I think others will chime in here, but in general, VGA passthrough is a
no-go on laptops : (.

On Thu, Aug 20, 2015 at 9:54 AM, ehsan davoodi <e.davoodi at gmail.com> wrote:

>
> Dear Mr Alex Williamson AND VFIO USERS
> first sorry about my English and
> sorry for disturbing your time but I have some questions please.
> I am not computer programmer and try to solve my problem but I cant.
>
> I am using Linux in my Laptop (OpenSuse 13.2) and want to use VGA
> passthrough.
> I add some patches "ACS override patch
> <https://lkml.org/lkml/2013/5/30/513>" and "i915 VGA arbiter patch
> <https://lkml.org/lkml/2014/5/9/517>" to kernel 4.1.3 and compile it.
>
> my problem is that subsystem ID of VGA does not recognized in Linux and
> therefore when it passthrough kvm the driver of windows not installed. In
> windows(host) vga works fine and  subsystem Id is 14AD1043.
> In Linux just after boot the subsystem is correct but after running VM and
> after shutting down it the subsystem not recognized (three condition and
> outputs are in lspci-nv.txt) so in vm subsystem will be 00000000 (guest
> win.png).
> I tried to change main windows driver inf file nvami.inf(nvami.inf.txt)
> and add another gtx 850m to list with zero subsystem but hash error not
> permit driver installation.
>
> I extract VGA ROM(vga4pres) from laptop bios(n56jkas.203 in
> http://dlcdnet.asus.com/pub/ASUS/nb/N56JK/N56JKAS203.zip) and use it in
> xml but not changed.
>  other PCI like my LAN recognized subsystem in Linux and when passed to
> kvm worked fine.
> Attachments are some of my outputs and my configs.
>
> lsmod
>
> lspci -vvvv
>
> /etc/modeprobe/99-local.conf
>
> my grub:
>  resume=/dev/disk/by-uuid/a7507032-1ea2-43dc-a1aa-3d9754aedb19
> splash=silent quiet showopts nomodeset intel_iommu=on acpi_backlight=vendor
> vfio_iommu_type1.allow_unsafe_interrupts=1 i915.enable_hd_vgaarb=1
> i915.modeset=0 pci-stub.ids=10de:1391 rd.driver.pre=vfio-pci
> pcie_acs_override=downstream
>
> thanks lot
>
>
>
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150820/78f94073/attachment.htm>


More information about the vfio-users mailing list