mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
libxl: remove libxl_domain_create_info_init from libxlMakeDomCreateInfo
The passed libxl_domain_create_info 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
2d0decccba
commit
2b51050b10
@ -129,8 +129,6 @@ libxlMakeDomCreateInfo(libxl_ctx *ctx,
|
||||
{
|
||||
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
||||
|
||||
libxl_domain_create_info_init(c_info);
|
||||
|
||||
if (def->os.type == VIR_DOMAIN_OSTYPE_HVM ||
|
||||
def->os.type == VIR_DOMAIN_OSTYPE_XENPVH) {
|
||||
#ifdef WITH_XEN_PVH
|
||||
|
Loading…
x
Reference in New Issue
Block a user