]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: split out DriverConfigInit out of DriverConfigNew
authorJán Tomko <jtomko@redhat.com>
Sat, 22 Feb 2020 12:01:38 +0000 (13:01 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Feb 2020 11:05:00 +0000 (12:05 +0100)
commit54a401af4780a7ebf70482bfe4736ff10c61586a
tree7c6d856d32cf0827b445ef6f8b5b7a923a26c30e
parentfffb1226aa016ab16d92acd9b5d449ca894ed7a9
libxl: split out DriverConfigInit out of DriverConfigNew

Take the parts affected by the host state out of DriverConfigNew
and put them into a separate function.

Adjust all the callers to call both functions.

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