You are not logged in.
Hi,
I followed this guide on reddit to install WIndows as a Guest OS in QEMU+KVM to play GTA V on my GTX 970 while using Arch Linux on Intel HD Graphics :
https://www.reddit.com/r/pcmasterrace/c … de_on_how/
The problem is : When i lunch the VM and then go into the Windows Installer it says that I need HDD Drivers to install the OS.
So I click on "Browse..." then the virtio ISO doesn't appear in the explorer.
This is my script for lunching the VM :
#!/bin/bash
sudo vfio-bind 0000:01:00.0 0000:01:00.1
sudo cp /usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd /tmp/my_vars.fd
sudo qemu-system-x86_64 \
-enable-kvm \
-m 4096 \
-cpu host,kvm=off \
-vga none \
-usb -usbdevice host:045e:0745 \
-usb -usbdevice host:046d:c068 \
-device vfio-pci,host=01:00.0,multifunction=on \
-device vfio-pci,host=01:00.1 \
-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=/vm/Windows/install.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \
-drive file=/vm/Windows/virtio.iso,id=virtiocd,if=none,format=raw -device ide-cd,bus=ide.1,drive=virtiocd \
-drive file=/vm/Windows/Windows.img,id=disk,format=qcow2,if=none,cache=writeback -device scsi-hd,drive=diskThx for your help.
Last edited by blakyris (2016-01-12 15:32:00)
Not a Sysadmin issue, moving to NC...
Offline
I thought I understood the usage of -drive fairly well, but now I'm not sure. I'm guessing the setting of if=none is overridden by the options -device switch with drive matching the drive's id? Oy vey.
But if that's right, you're not using any virtio devices, just IDE and SCSI. And I thought only virtio devices needed additional drivers. Unless you're sure the command line is right, try booting to a Linux image and see what kind of h/w is present. Otherwise, you could try drivers on a floppy device. That's what I did when I installed Win7 years ago.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
On ubuntu Live ISO i typed lspci and I got this :
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
00:03.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
00:04.0 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
00:05.0 SCSI storage controller: Red Hat, Inc Virtio SCSISo I'm using the VIFIO SCSI Controller
Last edited by blakyris (2016-01-13 15:20:17)
Does virtio window driver actual exists in your folder? (/vm/Windows/virtio.iso)
Offline
Yep it does. And it has permission 777 on the whole folder to be sure.
why no copy the comand like the install.iso?
Offline
TEST without these first:
-vga none \
-usb -usbdevice host:045e:0745 \
-usb -usbdevice host:046d:c068 \
-device vfio-pci,host=01:00.0,multifunction=on \
-device vfio-pci,host=01:00.1 \I have experiences that passing through too many items could break things randomly.
Offline
why no copy the comand like the install.iso?
The idea is to load the vioscsi driver from the driver iso "in an ide drive", so that you can use the the virtio for reading the windows iso. But it's actually silly, he could have use IDE for both ISOs and only load the driver a bit later in the process for the hard drive image. In my experience using IDE for the windows iso is damn fast, I doubt there is any significance to use virtio for it, not to mention that it's a one-time thing.
Offline
sl1pkn07 wrote:why no copy the comand like the install.iso?
The idea is to load the vioscsi driver from the driver iso "in an ide drive", so that you can use the the virtio for reading the windows iso. But it's actually silly, he could have use IDE for both ISOs and only load the driver a bit later in the process for the hard drive image. In my experience using IDE for the windows iso is damn fast, I doubt there is any significance to use virtio for it, not to mention that it's a one-time thing.
-drive file=/vm/Windows/install.iso,media=cdrom \
-drive file=/vm/Windows/virtio.iso,media=cdrom \Clean and simple.
FWIW (in recent my benchmark) the performance of vioscsi is not really ideal/optimal in Windows. viostor seems to perform quite better (I guess it's more stable anyway).
Last edited by tom.ty89 (2016-01-13 17:32:10)
Offline