knazarov / homebrew-qemu-virgl

A homebrew tap for qemu with support for 3d accelerated guests
415 stars 68 forks source link

Replace qemu user networking with vmnet, in README #44

Closed dguerri closed 3 years ago

dguerri commented 3 years ago

akihikodaki's patch set includes support for vmnet which offers more flexibility than -netdev user and allows higher network throughput. (see https://github.com/akihikodaki/qemu/commit/72a35bb6e0a16bb7d346ba822a6d47293915fc95)

I have been experiencing watchdog: BUG: soft lockup while using user networking on M1. vmnet solved all my problems and allowed me to bridge the VM with my Mac WiFi interface.

vmnet also offers "host" and "shared" networking model: -netdev vmnet-macos,id=str,mode=host|shared

dguerri commented 3 years ago

only caveat, it requires running qemu as root

knazarov commented 3 years ago

@dguerri thanks for your contribution!

I think it's worth to create a separate section in the readme with advanced settings. I'd put a few other things there, for example clipboard sharing or using a virtual tablet device for seamless mouse integration

knazarov commented 3 years ago

I've added the "advanced" section to the end of readme. Please put your suggestion there.