Wednesday, September 13, 2023

QEMU command for MacOS

 To run Qemu on mac use this command:

- Install Qemu: brew install qemu

 

to run VM:

qemu-system-x86_64 \
-m 8G \
-smp 6 \
-cdrom os_you_want_to_install.iso \
-drive file=
your_virtual_disk_here.qcow2,if=virtio \
-vga virtio \
-display default,show-cursor=on \
-usb \
-device usb-tablet \
-cpu host \
-machine type=q35,accel=hvf \
 
 😎