Sharing Host Files With KVM

Adventures with sharing host files with a KVM VM using 9p and libvirt with SELinux.

2020-03-10 · Chris Irwin

Discard (TRIM) with KVM Virtual Machines... in 2020!

While checking out some logs and google search analytics, I found that my post about Discard (TRIM) with KVM Virtual Machines has been referenced far more than I expected it to be. I decided to take this opportitnity to fact-check and correct that article. ...

2020-03-09 · Chris Irwin

Discard (TRIM) with KVM Virtual Machines

Update - March 09 2020 Since writing this article, I’ve made a few observations: More people read this than expected QEMU has since added discard support to the standard virtio disk, avoiding the need to use virtio-scsi It kinda sorta works out of the box. I’ve written a brief followup: Discard (TRIM) with KVM Virtual Machines… in 2020! Original Article I’ve got a bunch of KVM virtual machines running at home. They all use sparse qcow2 files as storage, which is nice and space efficient – at least at the beginning. ...

2015-10-17 · Chris Irwin