This creates a 40GB virtual disk that starts out very small and grows as you install the OS. Boosting Performance with VirtIO Windows 8 doesn't natively include

sudo dd if=/dev/sda of=windows8.raw bs=16M status=progress

qemu-img convert -f raw -O qcow2 physical_drive.img windows8.qcow2 Use code with caution. Copied to clipboard 3. Optimization and Cleanup

Convert from raw or VMDK to QCOW2: