<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">On November 22, 2015 at 18:57:10, Andrew Morgan (<a href="mailto:andrew.morgan4453@gmail.com">andrew.morgan4453@gmail.com</a>) wrote:</div> <div><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div></div><div>Hey Okky,<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Hi Andrew,</p><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>Through your example and Gabriel's notes here (<span class="Apple-converted-space"> </span><br>http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/), I've managed to get<span class="Apple-converted-space"> </span><br>the VM booting. App Store and app updates are working. Networking was a<span class="Apple-converted-space"> </span><br>hassle, but seemingly appending the networking bits from the top of the<span class="Apple-converted-space"> </span><br>qemu launch script from above seems to work flawlessly.<span class="Apple-converted-space"> </span></div></div></span></blockquote></div></div><p>Can you try my networking config? As long as you have the bridge networking (by default br0) configured, I think you can use my script it is using the Tap networking [1]. The qemu-mac-hasher script is the script to autogenerate my guest MAC address based on its name, which I borrowed from [2]</p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>I was unsuccessful (I believe) at passing through the GPU however. When<span class="Apple-converted-space"> </span><br>booting, I do get output from my GeForce GTX 970, however all I see are<span class="Apple-converted-space"> </span><br>a line of +'s across the top of the screen.<span class="Apple-converted-space"> </span><br><br>I can still manipulate Clover through the Qemu window, though Clover<span class="Apple-converted-space"> </span><br>doesn't actually seem to show on the GPU. Debug info from qemu is<span class="Apple-converted-space"> </span><br>outputted in the terminal it is run from. I believe this is actually<span class="Apple-converted-space"> </span><br>logs from the VM itself however. Here<span class="Apple-converted-space"> </span><br>(https://gist.github.com/anoadragon453/68da824929e05c9b038d) is the log<span class="Apple-converted-space"> </span><br>output. It always seems to be getting stuck at:<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>If you would like to disable the behavior to output the serial output to the Terminal, you can disable it by using “<font face="Courier">-serial none</font>” instead of “<font face="Courier">-serial stdio</font>”</p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>> Waiting for remote debugger connection.<span class="Apple-converted-space"> </span><br><br>with no progress even after nearly 10 minutes of waiting.<span class="Apple-converted-space"> </span><br><br>I am not able to reach OSX with the vfio qemu options enabled, yet it<span class="Apple-converted-space"> </span><br>does boot flawlessly without them. However the performance is thus sub-par.<span class="Apple-converted-space"> </span><br><br>Here is my qemu start-up script:<span class="Apple-converted-space"> </span><br>https://gist.github.com/anoadragon453/fa687e88c887044f5dd9<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>You’re using OVMF with Clover, but I see there was a "<font face="Courier">x-vga=on</font>" option in your GPU passthrough line which depicts that the passthrough is on VGA (legacy) mode. You don’t need that option in OVMF (legacy-free mode), so I’d suggest you to remove the "<font face="Courier">x-vga=on</font>" option. In addition, I see your Mac OS X boot arguments missing the option to enable the NVIDIA driver. Add the option "<font face="Courier">nvda_drv=1</font>”.</p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>Any help would be appreciated.<span class="Apple-converted-space"> </span><br><br>Thanks,<span class="Apple-converted-space"> </span><br>Andrew Morgan<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Please let me know your results.</p><p><br></p></div></div></div></div><p>[1] https://wiki.archlinux.org/index.php/QEMU#Tap_networking_with_QEMU</p><p>[2] https://wiki.archlinux.org/index.php/QEMU#Link-level_address_caveat</p><p><font face="helvetica, arial"><br></font></p><p><font face="helvetica, arial">Best regards,</font></p><p><font face="helvetica, arial">-- </font><br><span data-mce-style="orphans: 2; text-align: -webkit-auto; widows: 2; background-color: #ffffff; color: #020103; font-family: 'Times New Roman', serif;" style="color: rgb(2, 1, 3);"><font face="Calibri"><b>Okky Hendriansyah</b></font></span></p></body></html>