[RESOLVED] PCI Passthrough in KVM

Issues related to hardware problems
simon_lefisch
Posts: 92
Joined: 2017/07/12 21:02:02

Re: PCI Passthrough in KVM

Post by simon_lefisch » 2020/05/28 19:55:10

Maybe someone else can answer this....can I install qemu-kvm-ev over my existing qemu-kvm installation and not have to reinstall my VMs or would I have to remove the qemu-kvm package first, install qemu-kvm-ev and redo my VMs? I assume I can just install over the existing qemu-kvm, but any existing VMs would not be able to take advantage of OVMF/Q35. Just want to confirm before I take the plunge.
Hardware:
Supermicro X10SRi-F mobo
E5-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)

simon_lefisch
Posts: 92
Joined: 2017/07/12 21:02:02

Re: PCI Passthrough in KVM

Post by simon_lefisch » 2020/05/28 22:38:45

Ok I was able to figure out what my issue was....

everything was enabled correctly in BIOS. I reconfigured grub according to @jlehtone, however my mistake was that I reconfigured grub for BIOS and not UEFI (which is what my system runs). Once I reconfigured for UEFI, I was able to pass the SATA PCI card Bus to my FreeNAS VM and the 2 HDDs I had attached to the cad now show up.

@TrevorH and @jlehtone, thank you so much for your help. Marking as resolved.
Hardware:
Supermicro X10SRi-F mobo
E5-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: PCI Passthrough in KVM

Post by jlehtone » 2020/05/29 06:39:54

simon_lefisch wrote:
2020/05/28 22:38:45
my mistake was that I reconfigured grub for BIOS and not UEFI (which is what my system runs).
simon_lefisch wrote:
2020/05/27 17:18:20
This is part of my /boot/grub2/grub.cfg file
There should be no /boot/grub2/grub.cfg in UEFI system.
I did assume that you have legacy BIOS install, because you wrote what you wrote.

(Almost did ask why have BIOS install. Didn't.)

simon_lefisch
Posts: 92
Joined: 2017/07/12 21:02:02

Re: PCI Passthrough in KVM

Post by simon_lefisch » 2020/05/29 16:15:49

jlehtone wrote:
2020/05/29 06:39:54
There should be no /boot/grub2/grub.cfg in UEFI system.
I did assume that you have legacy BIOS install, because you wrote what you wrote.

(Almost did ask why have BIOS install. Didn't.)
That path does exist in /boot but like I said, I ran the grub2-mkconfig for /boot/grub2/grub.cfg rather than /boot/efi/EFI/centos/grub.cfg. Forgot that it matters whether you're running legacy or UEFI. Regardless, many thanks for your help....really stoked I was able to get this going here :mrgreen:
Hardware:
Supermicro X10SRi-F mobo
E5-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)

Post Reply