Jump to content

realfolkblues

Members
  • Content count

    188
  • Joined

  • Last visited


Reputation Activity

  1. Like
    realfolkblues got a reaction from chinasky in Lenovo TS-140 Proxmox PCI-Passthrough.   
    I'm grateful too the community for making this possible so I wanted to give back. Here is some info about my VM build.
    OSX 10.11.3 El Capitan
    Proxmox 4.1
    Using ZFS for guests. Allows easy snapshot/rollback. Great if my hack VM crashes for some reason.
    Running on Lenovo TS-140 Xeon.
    Geforce GTX750TI MSI (Nvidia Official driver in guest)
    On board sound(VoodoHDA).
     
    Following is VM conf. The device id's are my GTX750, Onboard audio, and usb keyboard/mouse. You would need to replace them with your own ID's if trying to replicate. You would also need to download enoch_r2795 and extract the boot file using pacific for mac.
    args: -machine q35 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -kernel /tank/vm/enoch_r2795 -smbios type=2 -readconfig /tank/vm/pve-q35-osx.cfg -device vfio-pci,host=01:00.0,x-vga=on -device vfio-pci,host=01:00.1 -device vfio-pci,host=00:1b.0 -vga none -usb -usbdevice host:04d9:0132 -usbdevice host:045e:00cb bootdisk: ide0 cores: 4 cpu: core2duo ide0: Tank:vm-103-disk-1,cache=writeback,size=32G memory: 6000 name: OSXPassthrough net0: e1000-82545em=36:31:62:36:30:37 numa: 1 ostype: other smbios1: uuid=cc892184-b29d-4193-8f8f-378ba36c538a sockets: 1 Here is the org.chamelon.boot.plist
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>     <key>Timeout</key>     <string>2</string>     <key>EthernetBuiltIn</key>     <string>Yes</string>     <key>PCIRootUID</key>     <string>1</string>     <key>KernelBooter_kexts</key>     <string>Yes</string>     <key>Kernel Flags</key>     <string>kext-dev-mode=1 -v nvda_drv=1</string>     <key>HDAEnabler</key>     <string>Yes</string> </dict> Had to comment out the following in pve-q35.cfg as you can see from the vm conf I made a copy so that I don't edit the original. i.e. pve-q35-osx.cfg
    # driver = "ich9-usb-ehci1" # multifunction = "on" # bus = "pcie.0" # addr = "1d.7" #[device "uhci-1"] # driver = "ich9-usb-uhci1" # multifunction = "on" # bus = "pcie.0" # addr = "1d.0" # masterbus = "ehci.0" # firstport = "0" #[device "uhci-2"] # driver = "ich9-usb-uhci2" # multifunction = "on" # bus = "pcie.0" # addr = "1d.1" # masterbus = "ehci.0" # firstport = "2" #[device "uhci-3"] # driver = "ich9-usb-uhci3" # multifunction = "on" # bus = "pcie.0" # addr = "1d.2" # masterbus = "ehci.0" # firstport = "4" #[device "pci.1"] # driver = "pci-bridge" # bus = "pcidmi" # addr = "2.0" # chassis_nr = "2" #[device "pci.2"] # driver = "pci-bridge" # bus = "pcidmi" # addr = "3.0" # chassis_nr = "3" most of the other small details can be found here https://forum.proxmox.com/threads/mini-howto-running-mac-os-x-10-9-under-proxmox-3-3.19722/
     

  2. Like
    realfolkblues got a reaction from chinasky in Lenovo TS-140 Proxmox PCI-Passthrough.   
    I'm grateful too the community for making this possible so I wanted to give back. Here is some info about my VM build.
    OSX 10.11.3 El Capitan
    Proxmox 4.1
    Using ZFS for guests. Allows easy snapshot/rollback. Great if my hack VM crashes for some reason.
    Running on Lenovo TS-140 Xeon.
    Geforce GTX750TI MSI (Nvidia Official driver in guest)
    On board sound(VoodoHDA).
     
    Following is VM conf. The device id's are my GTX750, Onboard audio, and usb keyboard/mouse. You would need to replace them with your own ID's if trying to replicate. You would also need to download enoch_r2795 and extract the boot file using pacific for mac.
    args: -machine q35 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -kernel /tank/vm/enoch_r2795 -smbios type=2 -readconfig /tank/vm/pve-q35-osx.cfg -device vfio-pci,host=01:00.0,x-vga=on -device vfio-pci,host=01:00.1 -device vfio-pci,host=00:1b.0 -vga none -usb -usbdevice host:04d9:0132 -usbdevice host:045e:00cb bootdisk: ide0 cores: 4 cpu: core2duo ide0: Tank:vm-103-disk-1,cache=writeback,size=32G memory: 6000 name: OSXPassthrough net0: e1000-82545em=36:31:62:36:30:37 numa: 1 ostype: other smbios1: uuid=cc892184-b29d-4193-8f8f-378ba36c538a sockets: 1 Here is the org.chamelon.boot.plist
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>     <key>Timeout</key>     <string>2</string>     <key>EthernetBuiltIn</key>     <string>Yes</string>     <key>PCIRootUID</key>     <string>1</string>     <key>KernelBooter_kexts</key>     <string>Yes</string>     <key>Kernel Flags</key>     <string>kext-dev-mode=1 -v nvda_drv=1</string>     <key>HDAEnabler</key>     <string>Yes</string> </dict> Had to comment out the following in pve-q35.cfg as you can see from the vm conf I made a copy so that I don't edit the original. i.e. pve-q35-osx.cfg
    # driver = "ich9-usb-ehci1" # multifunction = "on" # bus = "pcie.0" # addr = "1d.7" #[device "uhci-1"] # driver = "ich9-usb-uhci1" # multifunction = "on" # bus = "pcie.0" # addr = "1d.0" # masterbus = "ehci.0" # firstport = "0" #[device "uhci-2"] # driver = "ich9-usb-uhci2" # multifunction = "on" # bus = "pcie.0" # addr = "1d.1" # masterbus = "ehci.0" # firstport = "2" #[device "uhci-3"] # driver = "ich9-usb-uhci3" # multifunction = "on" # bus = "pcie.0" # addr = "1d.2" # masterbus = "ehci.0" # firstport = "4" #[device "pci.1"] # driver = "pci-bridge" # bus = "pcidmi" # addr = "2.0" # chassis_nr = "2" #[device "pci.2"] # driver = "pci-bridge" # bus = "pcidmi" # addr = "3.0" # chassis_nr = "3" most of the other small details can be found here https://forum.proxmox.com/threads/mini-howto-running-mac-os-x-10-9-under-proxmox-3-3.19722/
     

×