使用命令查看pci设备 且显示设备所属驱动lspci -nnk
https://www.wangsansan.com/archives/181/
https://imacos.top/2023/07/31/pci/
直通显卡:https://blog.csdn.net/yyhyoung/article/details/130708894
https://www.nasge.com/archives/137.html
关于uefi点亮显示器:https://amagi.yukisaki.io/article/c44e4f19-a08e-4631-ba99-e42619cafef6/
linux控制台有关:https://www.kernel.org/doc/Documentation/fb/fbcon.txt
PVE恢复脚本:https://github.com/HelloZhing/pvevm-hooks
pve中有关脚本的问题https://forum.proxmox.com/threads/how-to-use-new-hookscript-feature.53388/
KVM恢复脚本https://gitlab.com/risingprismtv/single-gpu-passthrough/
有kvm配置的:https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/#more-1349
KVM-OSX直通:https://github.com/yoonsikp/macOS-KVM-PCI-Passthrough
oc配置:https://github.com/thenickdude/KVM-Opencore/releases
需要在虚拟机配置文件(xxx.conf)中首行加入
args: -device isa-applesmc,osk=”ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc” -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on
amd cpu用这个,我成功进入了安装界面
args: -device isa-applesmc,osk=”ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc” -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on
需要将光驱配置的:
media=cdrom
改为cache=unsafe
https://techantidote.com/install-macos-ventura-on-proxmox-8-x/