[pve-devel] Fixed not working pci_dev_reset for vfio devices

Kamil Trzciński ayufan at ayufan.eu
Mon Jun 30 09:58:24 CEST 2014


The last time I tried it wasn't working. It most probably due to some
issues with integrated and discrete graphics on newer boards. Take a
look there: https://bbs.archlinux.org/viewtopic.php?id=162768.

Kamil


On Mon, Jun 30, 2014 at 9:41 AM, Alexandre DERUMIER <aderumier at odiso.com> wrote:
> Thanks for the infos,
>
> I'll update the wiki soon.
>
>>>I also use this patch for qemu:
>>>https://github.com/ayufan/pve-qemu-kvm-with-vfio/commit/afee03e8739cf9ee78408bec9a62cf5c558860f9
>
> Ok, should be ready in next pve-qemu-kvm
>
>
>>>And this patches for kernel:
>>>https://github.com/ayufan/linux-kernel-with-vga-passthrough/commits/vfio
>
> Do you have tried last pve 3.10 kernel ?
>
>
> ----- Mail original -----
>
> De: "Kamil Trzciński" <ayufan at ayufan.eu>
> À: "Alexandre DERUMIER" <aderumier at odiso.com>
> Cc: "Kamil Trzciński" <ayufan at ayufan.eu>, pve-devel at pve.proxmox.com
> Envoyé: Lundi 30 Juin 2014 09:37:30
> Objet: Re: [pve-devel] Fixed not working pci_dev_reset for vfio devices
>
> MB: ASUS H81M-E (with integrated graphics)
> GFX: GeForce GTX660
>
> I also use this patch for qemu:
> https://github.com/ayufan/pve-qemu-kvm-with-vfio/commit/afee03e8739cf9ee78408bec9a62cf5c558860f9
>
> And this patches for kernel:
> https://github.com/ayufan/linux-kernel-with-vga-passthrough/commits/vfio
>
> grub.cfg:
> GRUB_CMDLINE_LINUX="intel_iommu=on"
>
> modules + initramfs:
> kvm ignore_msrs=1
> pci_stub ids=10de:11c0,10de:0e0b,8086:0412,8086:0c0c,8086:82c0
>
> And my lspci:
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell
> Integrated Graphics Controller [8086:0412] (rev 06)
> 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device
> [10de:11c0] (rev a1)
> 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0e0b] (rev a1)
>
>
> On Mon, Jun 30, 2014 at 9:26 AM, Alexandre DERUMIER <aderumier at odiso.com> wrote:
>>>>Yes, I use it for some quite of time for my Windows machine on which I
>>>>play games ;)
>>
>> Oh Great ! :)
>>
>> which graphic card model ?
>>
>> Do you have tuned grub.cfg ? (I'm thinking of iommu module)
>>
>>
>>
>> ----- Mail original -----
>>
>> De: "Kamil Trzciński" <ayufan at ayufan.eu>
>> À: "Alexandre DERUMIER" <aderumier at odiso.com>
>> Envoyé: Lundi 30 Juin 2014 08:54:15
>> Objet: Re: [pve-devel] Fixed not working pci_dev_reset for vfio devices
>>
>> Yes, I use it for some quite of time for my Windows machine on which I
>> play games ;)
>>
>> This is how looks my config:
>> vga: serial0
>> machine: q35
>> hostpci0: 01:00,pcie=1,driver=vfio,x-vga=on
>>
>>
>> On Mon, Jun 30, 2014 at 8:12 AM, Alexandre DERUMIER <aderumier at odiso.com> wrote:
>>> Thanks for your patch!
>>>
>>> By the way, I need some tester for vfio-vga and pci express passthrough
>>> Do you have tested it ?
>>>
>>> machine : q35
>>> hostpci0 : 00:01, pcie=1,x-vga=on
>>>
>>> ----- Mail original -----
>>>
>>> De: "Kamil Trzciński" <ayufan at ayufan.eu>
>>> À: pve-devel at pve.proxmox.com
>>> Envoyé: Dimanche 29 Juin 2014 21:41:36
>>> Objet: [pve-devel] Fixed not working pci_dev_reset for vfio devices
>>>
>>> Description in subject
>>>
>>> _______________________________________________
>>> pve-devel mailing list
>>> pve-devel at pve.proxmox.com
>>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list