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
mNo edit summary
Line 6: Line 6:
*All the files are located at ~/.qemu/OSX-KVM/
*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.
*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 to add the network interface:
*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 tuntap add dev tap0 mode tap
**sudo ip link set tap0 up promisc on
**sudo ip link set tap0 up promisc on
**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

Revision as of 17:06, 20 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