Difference between revisions of "How to run MAC OS VM under KVM /qemu"

From vpsget wiki
Jump to: navigation, search
Line 17: Line 17:
  
 
OK go to /opt and download qemu sources:  
 
OK go to /opt and download qemu sources:  
 
 
  git clone git://git.qemu-project.org/qemu.git
 
  git clone git://git.qemu-project.org/qemu.git
 +
cd qemu
 +
git submodule init
 +
git submodule update --recursive
 +
git submodule status --recursive
 +
git checkout stable-4.21  #or check what stable version exisst at this time
 +
mkdir build
 +
cd build
 +
../configure
 +
make

Revision as of 14:53, 11 August 2020

//DRAFT We will show how to runMAC OS Virtual Machine under KVM /native qemu / This is only in educational purposes.

First of all you need to build your qemu from sources. Even if you have qemu/libvirt already installed our custom build should not conflict with it.

Check qemu module:

lsmod | grep kvm

if not listed add:

modprobe kvm

If you installing on environment that already using qemu/libvirt yo uneed to know where is qemu located in order to do not affect it:

whereis qemu
qemu: /usr/share/qemu

OK go to /opt and download qemu sources:

git clone git://git.qemu-project.org/qemu.git
cd qemu
git submodule init
git submodule update --recursive
git submodule status --recursive
git checkout stable-4.21  #or check what stable version exisst at this time
mkdir build
cd build
../configure
make