Re: [Qemu-block] [PATCH] pr-helper: Rework socket path handling

2018-07-03 Thread Paolo Bonzini
On 03/07/2018 11:51, Michal Privoznik wrote: > When reviewing Paolo's pr-helper patches I've noticed couple of > problems: > > 1) socket_path needs to be calculated at two different places > (one for printing out help, the other if socket activation is NOT > used), > > 2) even though the default

[Qemu-block] [PATCH] pr-helper: Rework socket path handling

2018-07-03 Thread Michal Privoznik
When reviewing Paolo's pr-helper patches I've noticed couple of problems: 1) socket_path needs to be calculated at two different places (one for printing out help, the other if socket activation is NOT used), 2) even though the default socket_path is allocated in compute_default_paths() it is