GPU passthrough works with UEFI firmware but not Windows iso

Clash 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?
windows kvm uefi qemu pci-passthrough
add a comment |Â
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?
windows kvm uefi qemu pci-passthrough
add a comment |Â
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?
windows kvm uefi qemu pci-passthrough
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
windows kvm uefi qemu pci-passthrough
asked 4 mins ago
Thoughtcraft
1105
1105
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password