QEMU is a generic and open source machine emulator and virtualizer a.k.a. hypervisor. QEMU works like VMWare, VirtualBox and etc.
QEMU is a kind of hypervisor running on the host machine which can install various OS as virtual machine. Before reviewing below, you'd better understand Difference between Host and Guest Operating System.
Setup QEMU on Windows 10
You can download its installation file at https://www.qemu.org/download/
On Windows 10, you will see following diagram when you install QEMU.
You will surprisingly find nothing on the program group except a link to the documentation.
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.
If you want to create in qcow2 with 2048G disk space, you can create it as following:
You will need to install operating system, and below command line example shows how to install it by CD-ROM driver - it is actually linked to iso image you have.
Once installation is done, you may not need CD-ROM driver any more, so you can simply run your virtual machine like below - it also shows how to use audio device.
QEMU Command Line Example to Create CentOS 8 VM on WIndows 10
Below is an another example to create CentOS8 image
Setup QEMU on Mac
QEMU Command Line Example to Create Windows 10 VM on Mac
Below is for OS installation
Below is to run windows 10 VM without cdrom
If you want to use full screen, just add -full-screen in the parameter.
To run windows in the background without displaying anything on the terminal:
Run QCOW2 image without GUI
Below example shows how to run QCOW2 image without GUI on linux terminal
Run QCOW2 image with no GUI, forwarding ports (8080 to 80), (20022 to 22)
If you run your virtual machine above, you will be able to connect to your server via ssh by ssh 127.0.0.1 -p 20022, and you can connect to your web server in VM by lynx