It was the best video as the rest made no sense to me lmao
I done the IOMMU correctly and everything went good.
I went to the KVM and added the GPU and Audio.
Everything went well until I ran it. My monitor with the GPU showed no signal and there was nothing on the Spice. Not even the Clover bootloader! There was activity as i seen the cpu fluctuating.
This is the XML....
`
macOS-Simple-KVMd06d502a-904a-4b34-847d-debf1a3d76c7838860883886088hvm/home/andrew/macOS-Simple-KVM-master/firmware/OVMF_CODE.fd/home/andrew/macOS-Simple-KVM-master/firmware/OVMF_VARS-1024x768.fdqemu64destroyrestartdestroy/usr/bin/qemu-system-x86_64
`
I also tried basic.sh, this is the code...
`#!/bin/bash
OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VMDIR=$PWD
OVMF=$VMDIR/firmware
#export QEMU_AUDIO_DRV=pa
#QEMU_AUDIO_DRV=pa
qemu-system-x86_64 \
-enable-kvm \
-m 2G \
-machine q35,accel=kvm \
-smp 4,cores=2 \
-cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \
-device isa-applesmc,osk="$OSK" \
-smbios type=2 \
-drive if=pflash,format=raw,readonly,file="$OVMF/OVMF_CODE.fd" \
-drive if=pflash,format=raw,file="$OVMF/OVMF_VARS-1024x768.fd" \
-vga qxl \
-device ich9-intel-hda -device hda-output \
-usb -device usb-kbd -device usb-mouse \
-netdev user,id=net0 \
-device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \
-device ich9-ahci,id=sata \
-drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
-device ide-hd,bus=sata.2,drive=ESP \
-drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \
-device ide-hd,bus=sata.3,drive=InstallMedia \
-drive id=SystemDisk,if=none,file=MyDisk.qcow2 \
-device ide-hd,bus=sata.4,drive=SystemDisk \
-vga none \
-device pcie-root-port,bus=pcie.0,multifunction=on,port=1,chassis=1,id=port.1 \
-device vfio-pci,host=01:00.0,bus=port.1,multifunction=on,romfile=/path/to/card.rom \
-device vfio-pci,host=01:00.1,bus=port.1 \`
When I run it, i get this error.
"ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: Device or resource busy
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: Device or resource busy
audio: Failed to create voice `dac'
qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=port.1,multifunction=on,romfile=/path/to/card.rom: failed to find romfile "/path/to/card.rom""
**This is my specs.
GTX 1060 3GB
UBUNTU 20.04
MSI GE62VR 7RF APACHE PRO**
Am installing macOS High Sierra.
So I followed the this video on getting my GPU onto KVM ----> https://www.youtube.com/watch?v=tDMoEvf8Q18&t=528s
It was the best video as the rest made no sense to me lmao I done the IOMMU correctly and everything went good.
I went to the KVM and added the GPU and Audio.
Everything went well until I ran it. My monitor with the GPU showed no signal and there was nothing on the Spice. Not even the Clover bootloader! There was activity as i seen the cpu fluctuating.
This is the XML.... `