[vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
Greetings, I have a machine with an Intel igp of HD Graphics 610 [8086:5902]. I found several discussions on the subject stating that it isn't possible but all of them are several years old. so I wanted to know if it is possible to pass it to a vm? I'm using kernel 5.4.43, libvirt-6.6.0 and

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Patrick O'Callaghan
On Wed, 2020-08-12 at 18:02 +0200, daggs wrote: > Greetings, > > I have a machine with an Intel igp of HD Graphics 610 [8086:5902]. > I found several discussions on the subject stating that it isn't possible but > all of them are several years old. > so I wanted to know if it is possible to pass

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
  Greetings kram,   I think you need to extract the rom from the card. you can read Jeff Tchang's comment in this thread btw, are you using GVT-g?   Dagg Sent: Thursday, August 13, 2020 at 3:14 AM From: "kram threetwoone" To: "Alex Williamson" Cc: "vfio-users" Subject: Re:

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
Greetings Patrick, > Sent: Thursday, August 13, 2020 at 12:59 AM > From: "Patrick O'Callaghan" > To: "Alex Williamson" > Cc: vfio-users@redhat.com, "daggs" > Subject: Re: [vfio-users] pci passthrough of Intel igp > > On Wed, 2020-08-12 at 11:04 -0600, Alex Williamson wrote: > > > If this is

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
Greetings kram,   did it worked if you pass-though the gpu only, e.g. you see image but no sound? if so, there is a patch floating around which will disable the iommu gorupings or something like that, it is a "breach of security" patch but it might do the trick.   Sent: Wednesday, August 12,

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread kram threetwoone
Well, something isn't working now. I'm seeing this after loading the VM: qemu-system-x86_64: vfio-pci: Cannot read device rom at :00:02.0 Device option ROM contents are probably invalid (check dmesg). Skip option ROM probe with rombar=0, or load from file with romfile= On Wed, Aug 12, 2020

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Jeff Tchang
> > > I have a machine with an Intel igp of HD Graphics 610 [8086:5902]. >> > > I found several discussions on the subject stating that it isn't >> possible but all of them are several years old. >> > > so I wanted to know if it is possible to pass it to a vm? >> > > I'm using kernel 5.4.43,

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Alex Williamson
On Wed, 12 Aug 2020 14:56:08 -0700 kram threetwoone wrote: > I have not gotten the VM to boot, there is always the multiple address > spaces error. I don't think this is an ACS patch situation; the GPU sits > in it's own vfio group with no other devices. I can't think how a group with a single

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread kram threetwoone
Sure Alex, thanks for taking a look. Let me know if there's anything else you want to see. It is a shell script and I get the same errors if I run as user or root. #!/bin/bash qemu-system-x86_64 \ -enable-kvm \ -machine q35 \ -cpu host \ -nographic \ -vga none \ -device intel-iommu \ -device

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread kram threetwoone
I have not gotten the VM to boot, there is always the multiple address spaces error. I don't think this is an ACS patch situation; the GPU sits in it's own vfio group with no other devices. On Wed, Aug 12, 2020 at 2:06 PM daggs wrote: > Greetings kram, > > did it worked if you pass-though the

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Patrick O'Callaghan
On Wed, 2020-08-12 at 11:04 -0600, Alex Williamson wrote: > > If this is your only GPU, it doesn't make much sense. The idea of > > passthrough is to let the VM control an additional GPU, not the main > > one. > > > There are plenty of people trying to assign their primary graphics > > device,

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
Greetings Alex, thanks for the info, I'll look into it. > Sent: Wednesday, August 12, 2020 at 8:04 PM > From: "Alex Williamson" > To: "Patrick O'Callaghan" > Cc: vfio-users@redhat.com, "daggs" > Subject: Re: [vfio-users] pci passthrough of Intel igp > > On Wed, 12 Aug 2020 17:46:33 +0100 >

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread daggs
Greetings Jeff.   intresting, can you share how it was performance wise? I wonder about hte rom, it says that this rom can damage the screen if it has no prodection, how can I be sure it wrn't damage my tv? in addition, the readme speaks of GVT-g, do one needs to use it? have you used it?

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Alex Williamson
On Wed, 12 Aug 2020 15:21:31 -0700 kram threetwoone wrote: > Sure Alex, thanks for taking a look. Let me know if there's anything else > you want to see. It is a shell script and I get the same errors if I run > as user or root. > > #!/bin/bash > qemu-system-x86_64 \ > -enable-kvm \ >

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread kram threetwoone
Excellent, it's working! Thanks Alex. I'm starting at the Kodi install screen on the TV. I'm not sure about how the sound blacklisting is going to affect when removed but this is working. For reference: Hardware Odroid N2 with Celeron J4105, IGD is Intel UHD605 Kernel modules mkinitcpio.conf:

Re: [vfio-users] pci passthrough of Intel igp

2020-08-12 Thread Alex Williamson
On Wed, 12 Aug 2020 17:46:33 +0100 "Patrick O'Callaghan" wrote: > On Wed, 2020-08-12 at 18:02 +0200, daggs wrote: > > Greetings, > > > > I have a machine with an Intel igp of HD Graphics 610 [8086:5902]. > > I found several discussions on the subject stating that it isn't possible > > but all