I decided to upgrade my GPU and switch from Xen to kvm.
Hardware:
CPU~Hexa core Intel Core i7-3930K (-HT-MCP-) speed/max~1207/5700 MHz Kernel~3.19.0-41-generic x86_64 Up~1:20 Mem~20682.9/32180.0MB HDD~8871.8GB(30.2% used) Procs~290 Client~Shell inxi~2.2.28
Host GPU: Nvidia Quadro 2000 with Nvidia proprietary drivers under Linux
GPU for Windows guest: Gigabyte GTX 970 (Nvidia)
The GTX 970 supports UEFI and I tried to use OVMF.
I also installed Qemu 2.1.2 (ppa:jacob/virtualisation) to allow -cpu host,kvm=off (needed for Nvidia cards).
This is where I got stuck:
I can't boot the Windows 7.ISO, no matter what I try. At the very best I'm getting the "Starting Windows" screen with the Win logo. The screen switches to the GTX 970 just fine.
Here is the important part of my boot script:
Can anyone point me to the right direction?
Hardware:
CPU~Hexa core Intel Core i7-3930K (-HT-MCP-) speed/max~1207/5700 MHz Kernel~3.19.0-41-generic x86_64 Up~1:20 Mem~20682.9/32180.0MB HDD~8871.8GB(30.2% used) Procs~290 Client~Shell inxi~2.2.28
Host GPU: Nvidia Quadro 2000 with Nvidia proprietary drivers under Linux
GPU for Windows guest: Gigabyte GTX 970 (Nvidia)
The GTX 970 supports UEFI and I tried to use OVMF.
I also installed Qemu 2.1.2 (ppa:jacob/virtualisation) to allow -cpu host,kvm=off (needed for Nvidia cards).
This is where I got stuck:
I can't boot the Windows 7.ISO, no matter what I try. At the very best I'm getting the "Starting Windows" screen with the Win logo. The screen switches to the GTX 970 just fine.
Here is the important part of my boot script:
Code:
cp /usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd /tmp/my_vars.fd
qemu-system-x86_64 \
-enable-kvm \
-m 4096 \
-cpu host,kvm=off \
-vga none \
-device vfio-pci,host=02:00.0,multifunction=on \
-device vfio-pci,host=02:00.1 \
-device vfio-pci,host=00:1a.0 \
-drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd \
-drive if=pflash,format=raw,file=/tmp/my_vars.fd \
-device virtio-scsi-pci,id=scsi \
-drive file=/media/heiko/tmp_stripe/OS-backup/ISOs/Win7.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \
-drive file=/dev/mapper/lm13-win7,cache=none,if=virtio \
-drive file=/media/heiko/tmp_stripe/OS-backup/ISOs/virtio.iso,id=virtiocd,format=raw,if=none -device ide-cd,bus=ide.1,drive=virtiocd