mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 12:55:45 +00:00
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>
This commit is contained in:
parent
65fab900c5
commit
51eb680b26
@ -825,10 +825,6 @@ libxlStateReload(void)
|
||||
libxl_driver->xmlopt,
|
||||
NULL, libxl_driver);
|
||||
|
||||
virDomainObjListForEach(libxl_driver->domains, false,
|
||||
libxlAutostartDomain,
|
||||
libxl_driver);
|
||||
|
||||
virObjectUnref(cfg);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user