[libvirt] [PATCH v1 3/5] qemu.conf: Introduce memory_predictable_file_names

2017-10-23 Thread Michal Privoznik
In some cases management application needs to allocate memory for qemu upfront and then just let qemu use that. Since we don't want to expose path for memory-backend-file anywhere in the domain XML, we can have a configuration knob that when enabled generated predictable paths. In this case: $me

Re: [libvirt] [PATCH v1 3/5] qemu.conf: Introduce memory_predictable_file_names

2017-10-23 Thread Daniel P. Berrange
On Mon, Oct 23, 2017 at 05:43:16PM +0200, Michal Privoznik wrote: > In some cases management application needs to allocate memory for > qemu upfront and then just let qemu use that. Since we don't want > to expose path for memory-backend-file anywhere in the domain > XML, we can have a configuratio

Re: [libvirt] [PATCH v1 3/5] qemu.conf: Introduce memory_predictable_file_names

2017-10-23 Thread Michal Privoznik
On 10/23/2017 06:47 PM, Daniel P. Berrange wrote: > On Mon, Oct 23, 2017 at 05:43:16PM +0200, Michal Privoznik wrote: >> In some cases management application needs to allocate memory for >> qemu upfront and then just let qemu use that. Since we don't want >> to expose path for memory-backend-file a

Re: [libvirt] [PATCH v1 3/5] qemu.conf: Introduce memory_predictable_file_names

2017-10-24 Thread Daniel P. Berrange
On Mon, Oct 23, 2017 at 07:10:04PM +0200, Michal Privoznik wrote: > On 10/23/2017 06:47 PM, Daniel P. Berrange wrote: > > On Mon, Oct 23, 2017 at 05:43:16PM +0200, Michal Privoznik wrote: > >> In some cases management application needs to allocate memory for > >> qemu upfront and then just let qemu