Re: [Qemu-devel] [RFC] configuring thin provisioning for drives

2013-02-07 Thread Paolo Bonzini
Il 06/02/2013 19:37, Kevin Wolf ha scritto: >> I'll call these "full", "anchor", "unmap". Kevin pointed out to me that >> you may need to control these at both the format and protocol levels, >> which gives 9 possibilities. At the API level there is no problem >> supporting all of them, but what

Re: [Qemu-devel] [RFC] configuring thin provisioning for drives

2013-02-06 Thread Kevin Wolf
Am 06.02.2013 17:39, schrieb Paolo Bonzini: > In order to finish the implementation of thin provisioning, we need to > add a -drive option to describe how guest discard requests are mapped to > host requests. > > We have three possibilities: > > - hide them and make them always succeed > - transl

[Qemu-devel] [RFC] configuring thin provisioning for drives

2013-02-06 Thread Paolo Bonzini
In order to finish the implementation of thin provisioning, we need to add a -drive option to describe how guest discard requests are mapped to host requests. We have three possibilities: - hide them and make them always succeed - translate them to ANCHOR requests, i.e. mark the space as discarde