]> git.feebdaed.xyz Git - 0xmirror/libvirt.git/commit
ch: Set transient domain definition
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Oct 2025 13:42:53 +0000 (15:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 10 Nov 2025 12:16:02 +0000 (13:16 +0100)
commit85cf0e4f17ae106ba7cec586f56c868b2b41b358
treef77507d3ea49f3120d21b0344087d9e1271acc3c
parent7e5d224536b511b014221601af16120bb491aa56
ch: Set transient domain definition

Libvirt's philosophy is that for a running domain there are two
(in general distinct) definitions: live definition (reflects the
running state) and inactive definition (used to seed the live
definition when domain is being created).  That's why we have
VIR_DOMAIN_AFFECT_LIVE and VIR_DOMAIN_AFFECT_CONFIG flags to APIs
that modify domain definitions.

Well, the CH driver doesn't do this distinction. Fix this by
making the domain definition transient when it's being created.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/ch/ch_process.c