File 51eb680b-libxl-dont-autostart-on-reload.patch of Package libvirt
xxxxxxxxxx
1
commit 51eb680b2647a8c0520ec5da3bb32d711d59f81b
2
Author: Jim Fehlig <jfehlig@suse.com>
3
Date: Tue Sep 14 11:11:11 2021 -0600
4
5
libxl: Don't autostart domains on driver reload
6
7
When libxlAutostartDomain was introduced with commit fb92307f0d, one hunk
8
mistakenly added a call site in libxlStateReload. Domains should not be
9
autostarted when reloading the driver, so remove the offending hunk.
10
11
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
12
Reviewed-by: Ján Tomko <jtomko@redhat.com>
13
14
Index: libvirt-7.1.0/src/libxl/libxl_driver.c
15
===================================================================
16
--- libvirt-7.1.0.orig/src/libxl/libxl_driver.c
17
+++ libvirt-7.1.0/src/libxl/libxl_driver.c
18
19
libxl_driver->xmlopt,
20
NULL, libxl_driver);
21
22
- virDomainObjListForEach(libxl_driver->domains, false,
23
- libxlAutostartDomain,
24
- libxl_driver);
25
-
26
virObjectUnref(cfg);
27
return 0;
28
}
29