[PATCH RFC 05/10] qemu_virtiofs: Separate PID read code into qemuVirtioFSGetPid
Daniel P. Berrangé
berrange at redhat.com
Mon May 23 16:57:08 UTC 2022
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 <mprivozn at redhat.com>
> ---
> src/qemu/qemu_virtiofs.c | 38 +++++++++++++++++++++++++-------------
> src/qemu/qemu_virtiofs.h | 5 +++++
> 2 files changed, 30 insertions(+), 13 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list