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

[PATCH v2 4/8] x86/xen/time: Correct xen_save_time_memory_area() failure message



We actually didn't fail to "save secondary vcpu time info" but
just to unregister the mapping of it.

Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Teddy Astie <teddy.astie@xxxxxxxxxx>
---
CC: Juergen Gross <jgross@xxxxxxxx>
CC: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
CC: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
CC: x86@xxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx

 arch/x86/xen/time.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index 5c7822254a01..2656b3a08553 100644
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -407,8 +407,7 @@ void xen_save_time_memory_area(void)
 
        ret = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_time_memory_area, 0, &t);
        if (ret != 0)
-               pr_notice("Cannot save secondary vcpu_time_info (err %d)",
-                         ret);
+               pr_notice("Cannot unregister vcpu_time_info (err %d)\n", ret);
        else
                clear_page(xen_clock);
 }
@@ -435,7 +434,7 @@ void xen_restore_time_memory_area(void)
         * call for a reliable timestamp.
         */
        if (ret != 0)
-               pr_notice("Cannot restore secondary vcpu_time_info (err %d)",
+               pr_notice("Cannot restore secondary vcpu_time_info (err %d)\n",
                          ret);
 
 out:
-- 
2.56.0



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.