Skip to content

Instantly share code, notes, and snippets.

View andriytk's full-sized avatar

Andriy Tkachuk andriytk

View GitHub Profile
@andriytk
andriytk / qemu-on-mac-nat.md
Last active September 2, 2024 22:31
Configure NAT-network for QEMU on macOS Mojave

Configure NAT-network for QEMU on macOS Mojave

Prerequisites:

  1. Install qemu via MacPorts.
  2. Install tuntap via brew.

Steps:

  1. Add a bridge with some Thunderbolt interface via System Preferences -> Network -> Manage Virtual interfaces:
@andriytk
andriytk / qemu-on-win.md
Last active April 26, 2021 16:31
How to run Linux (or some other) VM on Windows in QEMU in nearly-native host speed?

How to run Linux (or some other) VM on Windows in QEMU in nearly-native host speed?

Easy. Hare are a few tips:

  1. Install Intel HAXM for acceleration as described here - https://www.qemu.org/2017/11/22/haxm-usage-windows/

    Note: you will need to reboot your PC after this. Again: reboot (not shutdown and start) to avoid Windows quick-start which skips some initialisations.

  2. Install QEMU from https://qemu.weilnetz.de/w64/ (I used 5.2 version.) And add it to your Path.