Il 24/07/2013 09:52, Libaiqing ha scritto: > Hi paolo, > With -M pc,trim works well in windows guest with ide device and ahci bus. > > About the filter driver,you mean do something in windows virtio-scsi > driver,let it send unmap command to qemu?
Yes, it must trap the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES ioctl and convert it to a SCSI UNMAP command. But your link may suggest that it's only needed on Windows < 8 (and Server < 2012). Paolo > Thanks > baiqing.