Il 07/02/2014 17:36, Michael Tokarev ha scritto:
However, when I export the same test.raw file using virtio, like this:
-drive file=test.raw,if=virtio,discard=unmap
it doesn't work: guest does not see the virtio drive as discardable.
> Did I understand something wrong? Is the command wrong? Are any
> requirements not met?
So I've no idea what's going on here... ;)
Thanks Michael for the experiments! I missed this email.
virtio-blk does not support discard, so this is expected.
Regarding lsblk -D, DISC-ZERO is never true in VMs (not yet at least!),
but the important one is DISC-GRAN.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html