[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] trim in windows guest witch virtio
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] trim in windows guest witch virtio |
Date: |
Wed, 24 Jul 2013 09:57:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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.