News for hackers. Stuff that matters.
Re:LinuxBoot: Linux as Firmware by johncolanduoni on Monday January 29, 2018 @05:10PM (#16261088)
A big one is GPU passthrough. Before graphics cards supported UEFI the old VGA BIOS was a nightmare to get working with virtualization. Now with a tiny bit of configuration you can get consumer GPUs to work just fine in virtual machines.
Re:LinuxBoot: Linux as Firmware by ComputerGuru on Monday January 29, 2018 @07:11PM (#16261803)
This was mostly intentional, tbh. Both AMD and nVidia GPUs had "officially sanctioned" cards that worked just fine with their legacy VGA ROM.
Re:LinuxBoot: Linux as Firmware by Sephr on Monday January 29, 2018 @06:07PM (#16261421)
Maybe for AMD GPUs, but getting consumer Nvidia GPUs working with VT-d on Nvidia's drivers is a little difficult. GPU passthrough is not something Nvidia wants to support on consumer GPUs.

Edit: s/very/a little/

Re:LinuxBoot: Linux as Firmware by johncolanduoni on Monday January 29, 2018 @09:06PM (#16262351)
I've had no problem using consumer Nvidia GPUs with QEMU/KVM for this. All I needed to do was (1) use kvm=off (this does not turn off KVM, it just sort of hides it from the NVidia driver) and (2) on Windows, edit the registry to force enable Message Signaled Interrupts. When I tried it with an AMD card it would periodically crash the host when it was assigned to a Linux guest.
Re:LinuxBoot: Linux as Firmware by lathiat on Monday January 29, 2018 @06:27PM (#16261552)
It's "very difficult" because the drivers are intentionally nerfed not to load in a virtual environment. Your statement is entirely correct.
Re:LinuxBoot: Linux as Firmware by irth on Monday January 29, 2018 @07:06PM (#16261780)
One line config change to hide the hypervisor from the VM and it works. (Source: worked for me)