Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-25 Thread Michael Roth
Quoting Denis V. Lunev (2016-10-05 06:13:12) > On 10/04/2016 04:43 PM, Marc-André Lureau wrote: > > Hi > > > > On Mon, Oct 3, 2016 at 6:01 PM Denis V. Lunev > > wrote: > > > > Unfortunately, there is no public Windows API to start trimming the > >

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-05 Thread Denis V. Lunev
On 10/05/2016 09:55 PM, Laszlo Ersek wrote: > On 10/03/16 16:01, Denis V. Lunev wrote: >> Unfortunately, there is no public Windows API to start trimming the >> filesystem. The only viable way here is to call 'defrag.exe /L' for >> each volume. >> >> This is working since Win8 and Win2k12. >> >>

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-05 Thread Laszlo Ersek
On 10/05/16 21:47, Denis V. Lunev wrote: > On 10/05/2016 09:55 PM, Laszlo Ersek wrote: >> On 10/03/16 16:01, Denis V. Lunev wrote: >>> Unfortunately, there is no public Windows API to start trimming the >>> filesystem. The only viable way here is to call 'defrag.exe /L' for >>> each volume. >>>

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-05 Thread Laszlo Ersek
On 10/03/16 16:01, Denis V. Lunev wrote: > Unfortunately, there is no public Windows API to start trimming the > filesystem. The only viable way here is to call 'defrag.exe /L' for > each volume. > > This is working since Win8 and Win2k12. > > Signed-off-by: Denis V. Lunev >

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-05 Thread Richard W.M. Jones
On Mon, Oct 03, 2016 at 05:01:25PM +0300, Denis V. Lunev wrote: > Unfortunately, there is no public Windows API to start trimming the > filesystem. The only viable way here is to call 'defrag.exe /L' for > each volume. It's good to know that at least in one way, ntfs-3g is more featureful than

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-05 Thread Denis V. Lunev
On 10/04/2016 04:43 PM, Marc-André Lureau wrote: > Hi > > On Mon, Oct 3, 2016 at 6:01 PM Denis V. Lunev > wrote: > > Unfortunately, there is no public Windows API to start trimming the > filesystem. The only viable way here is to call 'defrag.exe

Re: [Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-04 Thread Marc-André Lureau
Hi On Mon, Oct 3, 2016 at 6:01 PM Denis V. Lunev wrote: > Unfortunately, there is no public Windows API to start trimming the > filesystem. The only viable way here is to call 'defrag.exe /L' for > each volume. > > This is working since Win8 and Win2k12. > > Signed-off-by:

[Qemu-devel] [PATCH v4 1/1] qga: minimal support for fstrim for Windows guests

2016-10-03 Thread Denis V. Lunev
Unfortunately, there is no public Windows API to start trimming the filesystem. The only viable way here is to call 'defrag.exe /L' for each volume. This is working since Win8 and Win2k12. Signed-off-by: Denis V. Lunev Signed-off-by: Denis Plotnikov