• S
    add timestamp to error_report() · 5e2ac519
    Seiji Aguchi 提交于
    [Issue]
    When we offer a customer support service and a problem happens
    in a customer's system, we try to understand the problem by
    comparing what the customer reports with message logs of the
    customer's system.
    
    In this case, we often need to know when the problem happens.
    
    But, currently, there is no timestamp in qemu's error messages.
    Therefore, we may not be able to understand the problem based on
    error messages.
    
    [Solution]
    Add a timestamp to qemu's error message logged by
    error_report() with g_time_val_to_iso8601().
    Signed-off-by: NSeiji Aguchi <seiji.aguchi@hds.com>
    Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
    5e2ac519
qemu-error.c 4.6 KB