qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 51/52] migration/rdma: Use error_report() & friends instead o


From: Zhijian Li (Fujitsu)
Subject: Re: [PATCH 51/52] migration/rdma: Use error_report() & friends instead of stderr
Date: Tue, 26 Sep 2023 06:35:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0


On 18/09/2023 22:42, Markus Armbruster wrote:
>           if (local->nb_blocks != nb_dest_blocks) {
> -            fprintf(stderr, "ram blocks mismatch (Number of blocks %d vs %d) 
> "
> -                    "Your QEMU command line parameters are probably "
> -                    "not identical on both the source and destination.",
> -                    local->nb_blocks, nb_dest_blocks);
> +            error_report("ram blocks mismatch (Number of blocks %d vs %d)",
> +                         local->nb_blocks, nb_dest_blocks);
> +            error_printf("Your QEMU command line parameters are probably "
> +                         "not identical on both the source and 
> destination.");


Why is this one handled specifically? It seems like it would be fine with 
error_report().





reply via email to

[Prev in Thread] Current Thread [Next in Thread]