mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
libxl: remove libxl_domain_build_info_init from libxlMakeDomBuildInfo
The used libxl_domain_build_info, which is contained in libxl_domain_config, is owned and already initialized by the caller. Signed-off-by: Olaf Hering <olaf@aepfle.de> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
2b51050b10
commit
d8c468d58c
@ -346,8 +346,6 @@ libxlMakeDomBuildInfo(virDomainDef *def,
|
||||
size_t i;
|
||||
size_t nusbdevice = 0;
|
||||
|
||||
libxl_domain_build_info_init(b_info);
|
||||
|
||||
if (hvm) {
|
||||
libxl_domain_build_info_init_type(b_info, LIBXL_DOMAIN_TYPE_HVM);
|
||||
} else if (pvh) {
|
||||
|
Loading…
Reference in New Issue
Block a user