Versions Compared

Key

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

...

Code Block
$ qemu-img create windows.raw 20G

You will need to install operating system, and below command line example enables you to install it by CD-ROM driver - it is actually linked to iso image you have.

Code Block


$ qemu-system-x86_64 -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. Below options also enables you to use audio device.

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