Search results

  1. S

    QEMU 5 and Legacy IGD passthrough

    If you already know how to build things then you'll have this fixed in less than 15 minutes. If you don't then it's a fun (and safe enough) exercise to do that will take 2 hours or so.
  2. S

    QEMU 5 and Legacy IGD passthrough

    FYI the official patch has now been included: https://bugs.launchpad.net/qemu/+bug/1882784
  3. S

    IGD passthrough and hard coded PCI bridges

    This from the chap behind the IGD passthrough code in QEMU is very useful: https://git.qemu.org/?p=qemu.git;a=blob;f=docs/igd-assign.txt;h=e17bb50789ada12b210897a5574bf89ee64b80fb;hb=HEAD
  4. S

    IGD passthrough and hard coded PCI bridges

    I went ahead and filed a bug: https://bugzilla.proxmox.com/show_bug.cgi?id=2794
  5. S

    QEMU 5 and Legacy IGD passthrough

    Just to report back that a deb-patched deb package has brought the functionality back via Proxmox server (subject to suppressing PCI bridge 2 as per https://forum.proxmox.com/threads/igd-passthrough-and-hard-coded-pci-bridges.68285)
  6. S

    QEMU 5 and Legacy IGD passthrough

    Okay. Great - it being overridden is fine. In the meantime I figured out a patch that will work for all builds: diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index 2d348f8237..a633df965e 100644 --- a/hw/vfio/pci-quirks.c +++ b/hw/vfio/pci-quirks.c @@ -25,6 +25,7 @@ #include...
  7. S

    QEMU 5 and Legacy IGD passthrough

    My fix is simply defining CONFIG_VFIO_IGD which I'm not sure will wash with them ;). I'm not familiar enough with their process to see how to introduce a preprocessor variable from a kconfig variable. But since Proxmox always has CONFIG_PCI I might make it a deb patch. If I do, and install...
  8. S

    QEMU 5 and Legacy IGD passthrough

    Instead of messing around with Proxmox patches I've reproduced the bug (and fix) in clean upstream sources. Filed a bug here: https://bugs.launchpad.net/qemu/+bug/1882784 Thanks for the attention and help - I'm not sure if this should be marked solved as of now? I'll be using a patched QEMU...
  9. S

    QEMU 5 and Legacy IGD passthrough

    So I've verified that the normal build pulls in the refactored IGD code, and that it still doesn't work. Reverting the patch however does. I'll follow up with upstream, but in the meantime would the pve patches be doing something? I do doubt it but I thought I'd ask.
  10. S

    QEMU 5 and Legacy IGD passthrough

    Ah, thanks for the insight, that package did the trick. Regarding the QEMU5 commit I understood the same, that it should be there with CONFIG_PC_PCI, so reverting the patch will be part of my investigation. I'm specifically looking for where for example CONFIG_PC_PCI might be defined. I'm...
  11. S

    QEMU 5 and Legacy IGD passthrough

    Thanks for the reply. I've since made some progress but am now getting the following error trying to compile in a debian 10 container. I'll read the dev docs to see if there are any clues. In file included from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timer.h:4, from...
  12. S

    [SOLVED] How to update QEMU version

    @Becod how did you get on? I'm getting the following error when trying to compile in a Debian Buster container: In file included from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timer.h:4, from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timed-average.h:29...
  13. S

    IGD Passthrough setup broke with Proxmox 6.2

    Legacy IGD passthrough appears to have some further issues. I've started a new thread here: https://forum.proxmox.com/threads/qemu-5-and-legacy-igd-passthrough.71036/
  14. S

    Proxmox VE 6.2 released!

    I've found a possible issue with QEMU5. I've described the issue further here: https://forum.proxmox.com/threads/qemu-5-and-legacy-igd-passthrough.71036/
  15. S

    QEMU 5 and Legacy IGD passthrough

    6.2 may have broken VMs that use legacy IGD passthrough. This is somewhat related to https://forum.proxmox.com/threads/igd-passthrough-setup-broke-with-proxmox-6-2.69670, except legacy IGD PT also relied on a quirk in qemu. This quirk used to be generally available, but since QEMU 5 has become...
  16. S

    sata disk passthrough with SMART functionality

    I'm interested in this (I currently monitor smart on the host). My question is how are you managing to keep the host disk in the host if you're passing through the whole controller? Edit: I see the host uses an nvm drive.
  17. S

    IGD passthrough and hard coded PCI bridges

    The code specifically doesn't create the bridges with q35 (see above). The VFIO guys insist that legacy passthrough will never work with q35, so it's probably something else. That said, they said the same about OVMF and it works there! But with coffee lake I think you can use UPT and not legacy...
  18. S

    IGD passthrough and hard coded PCI bridges

    I've settled with the following patch: if (!$q35) { # add pci bridges if (min_version($machine_version, 2, 3)) { $bridges->{1} = 1; #Legacy IGD passthrough fix $bridges->{2} = 1 if $vmid != [VMID requiring passthrough]; }...
  19. S

    IGD passthrough and hard coded PCI bridges

    I edited the file at: ./usr/share/perl5/PVE/QemuServer.pm and ran pvedaemon restart And have resolved the issue. I commented out $bridges->{2} = 1; to avoid creating the second extra bridge. The alternative would be to keep it at a different address, but I feel that this might be safer...
  20. S

    IGD passthrough and hard coded PCI bridges

    I have successfully managed to pass through my P4600 IGD to a VM. However I could only get it working up to a machine of pc-i440fx-2.2. The error given with pc-i440fx > 2.2 was that the address 1f.0 was in use by another device and the vfio legacy IGD passthrough requires this address to be...