As far as I am aware, QEMU/RBD supports discard in IDE, SCSI, and virtio-scsi controllers (if enabled).
-- Jason Dillaman ----- Original Message ----- > From: "koukou73gr" <[email protected]> > To: [email protected] > Sent: Thursday, January 28, 2016 2:51:11 PM > Subject: Re: [ceph-users] Ceph + Libvirt + QEMU-KVM > > On 01/28/2016 03:44 PM, Simon Ironside wrote: > > > Btw, using virtio-scsi devices as above and discard='unmap' above > > enables TRIM support. This means you can use fstrim or mount file > > systems with discard inside the VM to free up unused space in the image. > > Doesn't discard require the pc-q35-rhel7 (or equivalent) guest machine > type, which in turn shoves a non-removable SATA AHCI device in the guest > which can't be frozen and thus disables guest live migration? > > Has there been any change regarding this in a recent QEMU version? > > > Thanks, > > -K. > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
