[libvirt PATCH 12/80] qemu: Rename qemuDomainObjRestoreJob as qemuDomainObjPreserveJob

Peter Krempa pkrempa at redhat.com
Wed May 11 09:00:35 UTC 2022


On Tue, May 10, 2022 at 17:20:33 +0200, Jiri Denemark wrote:
> It is used for saving job out of domain object. Just like
> virErrorPreserveLast is used for errors. Let's make the naming
> consistent as Restore would suggest different semantics.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_domainjob.c | 14 ++++++++++++--
>  src/qemu/qemu_domainjob.h |  4 ++--
>  src/qemu/qemu_process.c   |  2 +-
>  3 files changed, 15 insertions(+), 5 deletions(-)

I think this could be even moved to qemu_process.c, since it's used only
in one place. Anyways:

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list