Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

QEMU does not provide VM manager like VMWare, VirtualBox and etc - meaning it requires to run the necessary things like command line interface. 


QEMU Command Line Example to Create Windows VM on WIndows 10

Below is an example to create an image by command line interface.

...

Code Block
"C:\Program Files\qemu\qemu-system-x86_64.exe" -m 4G -hda centos7.qcow2 -enable-kvm -cpu host -smp sockets=1,cores=2,threads=2 -drive file=windows.raw,format=raw -soundhw all


QEMU Command Line Example to Create CentOS 8 VM on WIndows 10

Below is an another example to create CentOS8 image

Code Block
"C:\Program Files\qemu\qemu-img.exe" create centos8.raw 100G


Setup QEMU on Mac

Code Block
brew install qemu



Run QCOW2 image without GUI

...