related software
winapps
virsh
gnome-boxes
virt-manager
libguestfs
vagrant
virtualbox
windows guest tips
http://bkanuka.com/posts/windows-10-libvirt/
create macos virtual machine
https://github.com/foxlet/macOS-Simple-KVM
virt-manager
3d acceleration
On the guest:
sudo apt install spice-vdagent
On the host (I used void linux):
xi spice-vdagent
In the virtual machines settings:
- Change the video mode to
virtioand enable 3d acceleration. - In display spice:
Type: Spice server
Listen type: none
Password: none
OpenGL: checked, auto
libguestfs
virt-sparsify
A nice helper tool for shrinking a virtual disk.
manual sparsify
Alternatively you can 0 the data yourself. Then, reconvert the image using the
following:
qemu-img convert -p -O qcow2 -c image.qcow2 image-mini.qcow2
sparsify from windows
sdelete -z C: