aboutsummaryrefslogtreecommitdiff
path: root/qga/channel-posix.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2016-10-03 17:01:25 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2016-10-31 19:09:21 -0500
commit91274487a979b693c264be35b2ffcb703f0a104e (patch)
tree68bdcec46860d01faf3be58ccb5e2f4e22b9fc08 /qga/channel-posix.c
parente80b4b8fb6babce7dcc91ea9ddeecbc351fd4646 (diff)
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 'qga/channel-posix.c')
0 files changed, 0 insertions, 0 deletions