Tag Archives: kvm

Reclaim storage space from qcow2 image after moving

After it is moved to another host, since it is a sparse file, the qcow2 takes the full space, e.g. if it was dynamically set to 100GB, it will take 100GB, even if only 50 GB were actually used. I … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , | Leave a comment

How to share files with Samba (SMB) from Ubuntu and mount on Windows

I am using a Windows 7 VM under KVM/QEMU, and there is no direct way – as far as I know – to make a shared drive between the host and guest, like the vboxsf that exists on VirtualBox hypervisor. … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | Leave a comment

How to connect to a VM hosted on QEMU remotely using virt-viewer

I couldn’t find comprehensive articles about this, so I decided to write one myself. In brief, here is a sample command: virt-viewer –connect qemu+ssh://aamr@hobba/system winVM Where: virt-viewer: is the command itself –connect: is obviously the parameter telling the command to … Continue reading

Posted in Linux, Mint, Ubuntu, Virtualization | Tagged , , , , , , | 1 Comment

How to make use of KVM snapshots via “virsh”

This is a very interesting article that contained everything I needed about KVM snapshots. It listed all the “virsh” command parameters for snapshots with an excellent explanation of each one: https://xdev.me/article/How_to_use_KVM_snapshots

Posted in Virtualization | Tagged , , , , , | Leave a comment