qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Using TRIM to shrink qcow2 images


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Using TRIM to shrink qcow2 images
Date: Fri, 04 Oct 2013 14:45:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 04/10/2013 09:07, Alexey Kardashevskiy ha scritto:
> 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:
>>> address@hidden ~]# 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?

It was broken.  IDE works, as well as any SCSI HBA (including USB storage).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]