]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Introduce libxlDomainStartPerform
authorJim Fehlig <jfehlig@suse.com>
Tue, 29 Jun 2021 23:47:41 +0000 (17:47 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 12 Jul 2021 20:02:18 +0000 (14:02 -0600)
commitfc94e5c1c207308c0a3f4acfb5985d880593fe14
tree6d15758deae25092d4dbbaff7ddeaef510aaafdd
parentb84d6ed2fe1fedc580b60691ea0d014d03957749
libxl: Introduce libxlDomainStartPerform

Introduce libxlDomainStartPerform as part of decomposing libxlDomainStart.
Perform all operations that are part of starting a domain. On error the
domain is destroyed from libxl's perspective, but the operations perfomed
in libxlDomainStartPrepare must be unwound by libxlDomainStart.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libxl/libxl_domain.c