qemu-img create -f qcow2 alpine.qcow2 16G
qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-m 4G \
-nic user,model=virtio \
-drive file=alpine.qcow2,if=virtio \
-cdrom alpine-virt-3.18.0-x86_64.iso
qemu-system-x86_64 \
-accel hvf \
-cpu host \
-m 4G \
-usb \
-device usb-tablet \
-nic user,model=virtio \
-drive file=alpine.qcow2,if=virtio
-cdrom alpine-virt-3.18.0-x86_64.iso
qemu-system-x86_64 `
-accel whpx,kernel-irqchip=off `
-m 4G `
-usb `
-device usb-tablet `
-nic user,model=virtio `
-drive file=alpine.qcow2,if=virtio `
-cdrom alpine-virt-3.18.0-x86_64.iso
qemu-system-x86_64 \
-enable-kvm \
-nographic \
-cpu host \
-m 2G \
-nic user,model=virtio \
-drive file=alpine.qcow2,if=virtio
qemu-system-x86_64 \
-accel hvf \
-nographic \
-cpu host \
-m 2G \
-nic user,model=virtio \
-drive file=alpine.qcow2,if=virtio
qemu-system-x86_64 `
-accel whpx,kernel-irqchip=off `
-nographic `
-m 2G `
-nic user,model=virtio `
-drive file=alpine.qcow2,if=virtio
- Exit
-nographic
with CTRL-A X
- When
-nograpgic
is used initial boot output is hidden
- Commands above use extra RAM when installing to speed up the process
-accel whpx,kernel-irqchip=off
workaround for Windows
-usb -device usb-tablet
automatically frees mouse when in graphical mode