From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRzUO-0005s9-LJ for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:07:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRzUH-0006u7-BN for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:07:52 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:39752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRzUH-0006u2-5H for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:07:45 -0400 Received: by mail-pb0-f42.google.com with SMTP id un15so3599652pbc.15 for ; Fri, 04 Oct 2013 00:07:44 -0700 (PDT) Message-ID: <524E693B.4070500@ozlabs.ru> Date: Fri, 04 Oct 2013 17:07:39 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <5203744F.4010407@ramses-pyramidenbau.de> <5203884F.5040805@redhat.com> <524E68B4.10906@redhat.com> In-Reply-To: <524E68B4.10906@redhat.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Using TRIM to shrink qcow2 images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: QEMU Developers On 10/04/2013 05:05 PM, Paolo Bonzini wrote: > Il 04/10/2013 08:22, Alexey Kardashevskiy ha scritto: >> >> btw I tried "discard=on" as you described (with if=virtio) and received >> an error: >> [root@localhost ~]# fstrim -v / >> fstrim: /: FITRIM ioctl failed: Operation not supported >> >> In my case if=virtio means virtio-blk. If I use virtio-scsi or ibmvscsi, >> fstrim works just fine but failing virtio-blk bothers me a bit as we >> might have a bug in ppc64, do not we? (we == ppc64 folks, of course :) ) >> > > No, virtio-blk does not support trim. So the example was broken or if=virtio uses virtio-scsi (instead of virtio-blk) on x86? -- Alexey