From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SegKo-0001FU-7X for qemu-devel@nongnu.org; Wed, 13 Jun 2012 01:41:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SegKl-0006tE-Nm for qemu-devel@nongnu.org; Wed, 13 Jun 2012 01:41:37 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:49716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SegKl-0006ss-Ea for qemu-devel@nongnu.org; Wed, 13 Jun 2012 01:41:35 -0400 Received: by wgbds1 with SMTP id ds1so5035061wgb.4 for ; Tue, 12 Jun 2012 22:41:33 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 13 Jun 2012 07:41:26 +0200 Message-Id: <1339566088-22542-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] qemu-ga: Add guest-fstrim command. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com FITRIM is a mounted filesystem feature to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. Provide access to the feature from the host so that filesystems can be trimmed periodically or before migration. v1->v2: fix version number, define mount list functions also for CONFIG_FSTRIM Paolo Bonzini (2): qemu-ga: make names more generic for mount list functions qemu-ga: add guest-fstrim command qapi-schema-guest.json | 20 +++++++++ qga/commands-posix.c | 114 +++++++++++++++++++++++++++++++++++++++--------- qga/commands-win32.c | 11 +++++ 3 files changed, 124 insertions(+), 21 deletions(-) -- 1.7.10.2