[libvirt-users] Make discard='unmap' the default?

Pavel Hrdina phrdina at redhat.com
Fri Jun 1 13:51:56 UTC 2018


On Fri, Jun 01, 2018 at 02:47:38PM +0100, Daniel P. Berrangé wrote:
> On Fri, Jun 01, 2018 at 08:37:30AM -0500, Ian Pilcher wrote:
> > On 06/01/2018 08:14 AM, Daniel P. Berrangé wrote:
> > > Yes, it inherits some defaults to libvirt and/or QEMU. If those are not
> > > suitable for some reason, then virt-manager needs to override it. The
> > > decision about whether to enable discard or not is a policy decision
> > > that doesn't have a single perfect answer. So changing it in libvirt
> > > might make it better for you, but worse for someone else. Libvirt does
> > > not want to get into such debates, so leaves such decisions for the app
> > > above to make, where there may well be more global context/knowledge
> > > allowing a better choice.
> > 
> > To be clear, I'm not suggesting that the "default defaults" be changed,
> > I would just like to change the default on my personal system.
> > 
> > It sounds like you're saying that libvirt expects virt-manager to
> > override these settings (if it wants to), but virt-manager doesn't
> > provide any way to do so, since it just uses the defaults from libvirt/
> > QEMU.
> 
> Yes, exactly.  IOW, perhaps file an RFE against virt-manager 

There is a way how to set few defaults (Edit->Preferences->New VM)
but this one is not there.  Creating RFE sounds reasonable.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180601/aaeb1247/attachment.sig>


More information about the libvirt-users mailing list