How do I keep my sparse vdisk as small as possible? How do enable trim on my Windows 8/10 or Windows Server 2012/2016 VM?   NOTE: according to this post by @aim60virtio devices also support discard on recent versions of qemu, so you just need to add the discard='unmap' option to the XML.   Still going to leave the older info here for now just in case.       By default vdisks are sparse, i.e., you can chose 30GB capacity but it will only allocate the a
    • Upvote
    • Thanks
    • Like
    14