forked from pool/libvirt
- libxl: Improve reporting of die_id in capabilities b75a16ae-libxl-improve-die-id.patch boo#1190493 - libxl: Fix driver reload 65fab900-libxl-fix-driver-reload.patch, 51eb680b-libxl-dont-autostart-on-reload.patch bsc#1190420 OBS-URL: https://build.opensuse.org/request/show/919013 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=904
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
commit 51eb680b2647a8c0520ec5da3bb32d711d59f81b
|
|
Author: Jim Fehlig <jfehlig@suse.com>
|
|
Date: Tue Sep 14 11:11:11 2021 -0600
|
|
|
|
libxl: Don't autostart domains on driver reload
|
|
|
|
When libxlAutostartDomain was introduced with commit fb92307f0d, one hunk
|
|
mistakenly added a call site in libxlStateReload. Domains should not be
|
|
autostarted when reloading the driver, so remove the offending hunk.
|
|
|
|
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
|
Index: libvirt-7.7.0/src/libxl/libxl_driver.c
|
|
===================================================================
|
|
--- libvirt-7.7.0.orig/src/libxl/libxl_driver.c
|
|
+++ libvirt-7.7.0/src/libxl/libxl_driver.c
|
|
@@ -825,10 +825,6 @@ libxlStateReload(void)
|
|
libxl_driver->xmlopt,
|
|
NULL, libxl_driver);
|
|
|
|
- virDomainObjListForEach(libxl_driver->domains, false,
|
|
- libxlAutostartDomain,
|
|
- libxl_driver);
|
|
-
|
|
virObjectUnref(cfg);
|
|
return 0;
|
|
}
|