Versions Compared

Key

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

...

Below is an example to create an 

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

Code Block
$ "C:\Program Files\qemu\qemu-img.exe" create windows.raw 20G

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.

Code Block
$ qemu"C:\Program Files\qemu\emu-system-x86_64.exe" -m 4G -cpu host -smp sockets=1,cores=2,threads=2 -cdrom Win10_1903_V1_Korean_x64.iso -drive file=windows.raw,format=raw -enable-kvm

...

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.

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

...