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

[xen staging] tools/misc/xen-vmtrace: use reset and enable



commit f894c3d8e705fea9cb3244fa61684bfd8bdd1b2a
Author:     Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
AuthorDate: Sat Feb 20 16:07:38 2021 -0500
Commit:     Ian Jackson <iwj@xxxxxxxxxxxxxx>
CommitDate: Mon Feb 22 11:15:31 2021 +0000

    tools/misc/xen-vmtrace: use reset and enable
    
    The expected behavior while using xen-vmtrace is to get a clean start, even 
if
    the tool was used previously on the same VM.
    
    Signed-off-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
    Release-Acked-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
    Reviewed-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
---
 tools/misc/xen-vmtrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/misc/xen-vmtrace.c b/tools/misc/xen-vmtrace.c
index 7572e880c5..35d14c6a9b 100644
--- a/tools/misc/xen-vmtrace.c
+++ b/tools/misc/xen-vmtrace.c
@@ -119,7 +119,7 @@ int main(int argc, char **argv)
         goto out;
     }
 
-    if ( xc_vmtrace_enable(xch, domid, vcpu) )
+    if ( xc_vmtrace_reset_and_enable(xch, domid, vcpu) )
     {
         perror("xc_vmtrace_enable()");
         goto out;
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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