Jump to content

OSX-KVM: Difference between revisions

m
imported>Onny
(Page cleanup and easier setup approach)
 
(2 intermediate revisions by one other user not shown)
Line 19: Line 19:


Replace <code>youruser</code> with the user name of your running system. After applying the configuration, reboot your system so the changes to the kernel modules can take effect.
Replace <code>youruser</code> with the user name of your running system. After applying the configuration, reboot your system so the changes to the kernel modules can take effect.
Last but not least, configure a tap interface that will be used in macOS for networking:
<syntaxHighlight lang=console>
$ 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
</syntaxHighlight>


== Usage ==
== Usage ==
Line 36: Line 27:


<syntaxHighlight lang=bash>
<syntaxHighlight lang=bash>
git clone https://github.com/onny/OSX-KVM.git
git clone -b flake https://github.com/onny/OSX-KVM.git
cd OSX-KVM
cd OSX-KVM
git checkout flake
nix run
nix run
</syntaxHighlight>
</syntaxHighlight>
Line 51: Line 41:


* [https://github.com/ngi-nix/OSX-KVM ngi-nix/OSX-KVM]: This implementation is based on [https://github.com/foxlet/macOS-Simple-KVM macOS-Simple-KVM], and may not be as complete or polished as [https://github.com/kholia/OSX-KVM kholia/OSX-KVM]. Usage instructions are available in the repository README.
* [https://github.com/ngi-nix/OSX-KVM ngi-nix/OSX-KVM]: This implementation is based on [https://github.com/foxlet/macOS-Simple-KVM macOS-Simple-KVM], and may not be as complete or polished as [https://github.com/kholia/OSX-KVM kholia/OSX-KVM]. Usage instructions are available in the repository README.
[[Category:Virtualization]]
trusted
602

edits