GPU passthrough works with UEFI firmware but not Windows iso

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to set up a virtual machine with passthrough graphics. I am able to get the passthrough working for the UEFI shell, but not the Windows installer. I can get the Windows installer to work, but only with emulated graphics



This boots the windows installer in a QEMU Window:



sudo qemu-system-x86_64 --enable-kvm 
-name TESTVM,process=TESTVM
-cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
-smp 4
-cpu core2duo
-m 4096
-vga qxl


This also boots the windows installer in a QEMU window (still no passthrough)



sudo qemu-system-x86_64 --enable-kvm 
-name TESTVM,process=TESTVM
-cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
-smp 4
-cpu core2duo
-m 4096
-device vfio-pci,host=43:00.0,multifunction=on
-device vfio-pci,host=43:00.1


But if I specify the paths to UEFI firmware, I get the Tiano slpash screen and then the UEFI shell both on the monitor attached to my passed-through video card and in a QEMU window.



sudo qemu-system-x86_64 --enable-kvm 
-name TESTVM,process=TESTVM
-cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
-smp 4
-cpu core2duo
-m 4096
-device vfio-pci,host=43:00.0,multifunction=on
-device vfio-pci,host=43:00.1
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd
-drive if=pflash,format=raw,file=/usr/share/OVMF/OVMF_VARS.fd


Why is the passthrough working only in the absence of the UEFI files? Or, why is specifying the UEFI files preventing me from starting Windows?









share

























    up vote
    0
    down vote

    favorite












    I am trying to set up a virtual machine with passthrough graphics. I am able to get the passthrough working for the UEFI shell, but not the Windows installer. I can get the Windows installer to work, but only with emulated graphics



    This boots the windows installer in a QEMU Window:



    sudo qemu-system-x86_64 --enable-kvm 
    -name TESTVM,process=TESTVM
    -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
    -smp 4
    -cpu core2duo
    -m 4096
    -vga qxl


    This also boots the windows installer in a QEMU window (still no passthrough)



    sudo qemu-system-x86_64 --enable-kvm 
    -name TESTVM,process=TESTVM
    -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
    -smp 4
    -cpu core2duo
    -m 4096
    -device vfio-pci,host=43:00.0,multifunction=on
    -device vfio-pci,host=43:00.1


    But if I specify the paths to UEFI firmware, I get the Tiano slpash screen and then the UEFI shell both on the monitor attached to my passed-through video card and in a QEMU window.



    sudo qemu-system-x86_64 --enable-kvm 
    -name TESTVM,process=TESTVM
    -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
    -smp 4
    -cpu core2duo
    -m 4096
    -device vfio-pci,host=43:00.0,multifunction=on
    -device vfio-pci,host=43:00.1
    -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd
    -drive if=pflash,format=raw,file=/usr/share/OVMF/OVMF_VARS.fd


    Why is the passthrough working only in the absence of the UEFI files? Or, why is specifying the UEFI files preventing me from starting Windows?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to set up a virtual machine with passthrough graphics. I am able to get the passthrough working for the UEFI shell, but not the Windows installer. I can get the Windows installer to work, but only with emulated graphics



      This boots the windows installer in a QEMU Window:



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -vga qxl


      This also boots the windows installer in a QEMU window (still no passthrough)



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -device vfio-pci,host=43:00.0,multifunction=on
      -device vfio-pci,host=43:00.1


      But if I specify the paths to UEFI firmware, I get the Tiano slpash screen and then the UEFI shell both on the monitor attached to my passed-through video card and in a QEMU window.



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -device vfio-pci,host=43:00.0,multifunction=on
      -device vfio-pci,host=43:00.1
      -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd
      -drive if=pflash,format=raw,file=/usr/share/OVMF/OVMF_VARS.fd


      Why is the passthrough working only in the absence of the UEFI files? Or, why is specifying the UEFI files preventing me from starting Windows?









      share













      I am trying to set up a virtual machine with passthrough graphics. I am able to get the passthrough working for the UEFI shell, but not the Windows installer. I can get the Windows installer to work, but only with emulated graphics



      This boots the windows installer in a QEMU Window:



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -vga qxl


      This also boots the windows installer in a QEMU window (still no passthrough)



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -device vfio-pci,host=43:00.0,multifunction=on
      -device vfio-pci,host=43:00.1


      But if I specify the paths to UEFI firmware, I get the Tiano slpash screen and then the UEFI shell both on the monitor attached to my passed-through video card and in a QEMU window.



      sudo qemu-system-x86_64 --enable-kvm 
      -name TESTVM,process=TESTVM
      -cdrom /media/big-tank-8TB/OSISOS/Windows/WindowsOct2018.iso
      -smp 4
      -cpu core2duo
      -m 4096
      -device vfio-pci,host=43:00.0,multifunction=on
      -device vfio-pci,host=43:00.1
      -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd
      -drive if=pflash,format=raw,file=/usr/share/OVMF/OVMF_VARS.fd


      Why is the passthrough working only in the absence of the UEFI files? Or, why is specifying the UEFI files preventing me from starting Windows?







      windows kvm uefi qemu pci-passthrough





      share












      share










      share



      share










      asked 4 mins ago









      Thoughtcraft

      1105




      1105

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478129%2fgpu-passthrough-works-with-uefi-firmware-but-not-windows-iso%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478129%2fgpu-passthrough-works-with-uefi-firmware-but-not-windows-iso%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)