]> xenbits.xensource.com Git - libvirt.git/commit
qemu: move qemuProcessReadLog() to qemuLogContext
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 19 Jan 2023 19:16:01 +0000 (13:16 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Sep 2023 19:28:50 +0000 (14:28 -0500)
commite498941476a772fc4ad4a1c77eea0f46ab65dc71
treedf507c212d63f18db02e7e44666356fde4f6b348
parentb658b1a27e88a8d22e08b0b049af9b3b45b51e47
qemu: move qemuProcessReadLog() to qemuLogContext

This code can be used by the nbdkit implementation for reading back
filtered log data for error reporting. Move it to qemuLogContext so that
it can be shared. Renamed to qemuLogContextReadFiltered().

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_logcontext.c
src/qemu/qemu_logcontext.h
src/qemu/qemu_process.c