From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeOg6-0003xd-Ie for qemu-devel@nongnu.org; Tue, 12 Jun 2012 06:50:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeOg1-00060f-Nz for qemu-devel@nongnu.org; Tue, 12 Jun 2012 06:50:26 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:45391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeOg1-0005ze-9b for qemu-devel@nongnu.org; Tue, 12 Jun 2012 06:50:21 -0400 Received: by pbbro12 with SMTP id ro12so656917pbb.4 for ; Tue, 12 Jun 2012 03:50:19 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 12 Jun 2012 12:50:06 +0200 Message-Id: <1339498208-11390-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 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: mprivozn@redhat.com, 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. 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 | 108 +++++++++++++++++++++++++++++++++++++++--------- qga/commands-win32.c | 11 +++++ 3 files changed, 120 insertions(+), 19 deletions(-) -- 1.7.10.2