This patch replaces the use of NULL with empty strings ("") in a call to
OpenHardDisk, which otherwise fails with E_INVALIDARG.Florian
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index c02b18c..f5a8c97 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -3206,9 +3206,9 @@ static virDomainPtr vboxDomainDefineXML(virConnectPtr conn, const char *xml) {
hddfileUtf16,
AccessMode_ReadWrite,
0,
- NULL,
+ "",
0,
- NULL,
+ "",
&hardDisk);
#endif
}
-- Libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
