The parameter of check_domains() is not used within the function. In fact,
this was a left over of the original implementation as the version merged
doesn't need to know whether we are restoring.
So remove it.
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
* have died while we were live-updating. So check all the domains are
* still alive.
*/
- check_domains(true);
+ check_domains();
}
static const char *lu_activate_binary(const void *ctx)
dominfo->domid == domid;
}
-void check_domains(bool restore)
+void check_domains(void)
{
xc_dominfo_t dominfo;
struct domain *domain;
barf_perror("Failed to read from event fd");
if (port == virq_port)
- check_domains(false);
+ check_domains();
if (xenevtchn_unmask(xce_handle, port) == -1)
barf_perror("Failed to write to event fd");
void handle_event(void);
-void check_domains(bool restore);
+void check_domains(void);
/* domid, mfn, eventchn, path */
int do_introduce(struct connection *conn, struct buffered_data *in);