[libvirt] [PATCH 5/5] qemu: Enhance debug message in qemuMonitorSetMigrationCapability

John Ferlan jferlan at redhat.com
Thu Oct 19 22:31:21 UTC 2017



On 10/18/2017 07:29 AM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_monitor.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
> index 55b123e5f5..64efb89e83 100644
> --- a/src/qemu/qemu_monitor.c
> +++ b/src/qemu/qemu_monitor.c
> @@ -3943,7 +3943,8 @@ qemuMonitorSetMigrationCapability(qemuMonitorPtr mon,
>                                    qemuMonitorMigrationCaps capability,
>                                    bool state)
>  {
> -    VIR_DEBUG("capability=%d", capability);
> +    VIR_DEBUG("capability=%s, state=%d",
> +              qemuMonitorMigrationCapsTypeToString(capability), state);
>  
>      QEMU_CHECK_MONITOR_JSON(mon);
>  
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list