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: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] Using TRIM to shrink qcow2 images
Date: Fri, 04 Oct 2013 17:07:39 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

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?


-- 
Alexey



reply via email to

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