Re: [PATCH RFC 05/10] qemu_virtiofs: Separate PID read code into qemuVirtioFSGetPid

2022-05-23 Thread Daniel P . Berrangé
On Mon, May 09, 2022 at 05:02:12PM +0200, Michal Privoznik wrote: > In near future it will be necessary to know the PID of virtiofsd > started for QEMU. Move the code into a separate function > (qemuVirtioFSGetPid()) and export it in the header file. > > Signed-off-by: Michal Privoznik > --- >

[PATCH RFC 05/10] qemu_virtiofs: Separate PID read code into qemuVirtioFSGetPid

2022-05-09 Thread Michal Privoznik
In near future it will be necessary to know the PID of virtiofsd started for QEMU. Move the code into a separate function (qemuVirtioFSGetPid()) and export it in the header file. Signed-off-by: Michal Privoznik --- src/qemu/qemu_virtiofs.c | 38 +-