From: Andrew Cooper Date: Thu, 19 Feb 2015 12:43:57 +0000 (+0000) Subject: tools/libxl: Do not use remus teardown paths for non-remus guests X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3748 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d04b137ea76571e9e5f90625a7d96c4eb964a223;p=xen.git 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 CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index 48d661a5d4..a16d4a1004 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; }