diff options
| author | Denis V. Lunev | 2016-10-03 16:01:25 +0200 |
|---|---|---|
| committer | Michael Roth | 2016-11-01 01:09:21 +0100 |
| commit | 91274487a979b693c264be35b2ffcb703f0a104e (patch) | |
| tree | 68bdcec46860d01faf3be58ccb5e2f4e22b9fc08 /include/exec/user | |
| parent | Merge remote-tracking branch 'remotes/awilliam/tags/vfio-updates-20161031.0' ... (diff) | |
| download | qemu-91274487a979b693c264be35b2ffcb703f0a104e.tar.gz qemu-91274487a979b693c264be35b2ffcb703f0a104e.tar.xz qemu-91274487a979b693c264be35b2ffcb703f0a104e.zip | |
qga: minimal support for fstrim for Windows guests
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 <den@openvz.org>
Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
CC: Stefan Weil <sw@weilnetz.de>
CC: Marc-André Lureau <marcandre.lureau@gmail.com>
* check g_utf16_to_utf8() return value for GError handling instead
of GError directly (Marc-André)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
