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

[Xen-changelog] [xen master] tools/libxl: Do not use remus teardown paths for non-remus guests



commit d04b137ea76571e9e5f90625a7d96c4eb964a223
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Thu Feb 19 12:43:57 2015 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu Feb 19 16:54:01 2015 +0000

    tools/libxl: Do not use remus teardown paths for non-remus guests
    
    It causes a suspend failure to emit
    
      libxl: error: libxl_dom.c:2035:remus_teardown_done: Remus: failed to
      teardown device for guest with domid 17, rc -3
    
    for all domains, including those not using remus at all.
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
    CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
    CC: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/libxl/libxl_dom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c
index 48d661a..a16d4a1 100644
--- a/tools/libxl/libxl_dom.c
+++ b/tools/libxl/libxl_dom.c
@@ -2007,7 +2007,7 @@ static void domain_suspend_done(libxl__egc *egc,
                            dss->guest_evtchn.port, &dss->guest_evtchn_lockfd);
 
     if (!dss->remus) {
-        remus_teardown_done(egc, &dss->rds, rc);
+        dss->callback(egc, dss, rc);
         return;
     }
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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