IT/Software/Virtualization/QEMU/OSX-KVM: Difference between revisions

From msgwiki
< IT‎ | Software‎ | Virtualization‎ | QEMU
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
mNo edit summary
No edit summary
Line 11: Line 11:
**sudo ip link set dev virbr0 up
**sudo ip link set dev virbr0 up
**sudo ip link set dev tap0 master virbr0
**sudo ip link set dev tap0 master virbr0
* Or you can run them all at one time by running from withing the .qemu directory
<code>./qemuNetworking.sh </code>

Revision as of 10:36, 21 February 2020

Source

https://github.com/kholia/OSX-KVM

MSGCNX MacOS Install

  • All the files are located at ~/.qemu/OSX-KVM/
  • Inside that folder is a script called boot-macOS-NG.sh which can be run to boot the VM.
  • If you need networking in the VM you can run the following four commands on the host to add the network interface:
    • sudo ip tuntap add dev tap0 mode tap
    • sudo ip link set tap0 up promisc on
    • sudo ip link set dev virbr0 up
    • sudo ip link set dev tap0 master virbr0
  • Or you can run them all at one time by running from withing the .qemu directory

./qemuNetworking.sh