title: How do I pass the real/physical NVMe to a qemu machine? (Host MacOS, guest Windows)
body: <p>I just wanna boot my windows install (already installed) via Qemu. I was able to do it by VMware Fusion. But it got buggy and after days trying to solve it. I give it up and thought about Qemu.</p>
  
  <p>I have this lines</p>
  
  <pre><code>qemu-system-x86_64 -m 9072 -cpu Penryn,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\
        -machine q35 \
        -smp 4,cores=2 \
        -usb -device usb-kbd -device usb-mouse \
        -smbios type=2 \
        -device ich9-ahci,id=sata \
        -drive id=WIN,format=raw,if=none,file="/dev/disk2s4",index=0,media=disk \
        -device ide-hd,bus=sata.4,drive=WIN \
        -monitor stdio \
        -vga vmware
  </code></pre>
  
  <p>It is "draft". I was trying out. But my issue is that I wanna pass my SSD NVMe to this machine. I couldn't find anything useful for MacOS in the internet, searching for hours. Those lines are what I found. Not even in Qemu docs I couldn't find anything. </p>
  
  <p>I got "Booting from Hard Disk..." forever...</p>