diff --git a/libvirt-0.10.2-mingw.patch b/libvirt-0.10.2-mingw.patch index 77f7780..eb8c3cb 100644 --- a/libvirt-0.10.2-mingw.patch +++ b/libvirt-0.10.2-mingw.patch @@ -444,3 +444,18 @@ Make the remote driver use TLS certificates from %APPDATA%\libvirt\pki\ instead return ret; no_memory: +--- a/src/util/util.c ++++ b/src/util/util.c +@@ -275,7 +275,11 @@ int virSetInherit(int fd, bool inherit) { + + int virSetInherit(int fd ATTRIBUTE_UNUSED, bool inherit ATTRIBUTE_UNUSED) + { +- return -1; ++ /* FIXME: Currently creating child processes is not supported on ++ * Win32, so there is no point in failing calls that are only relevant ++ * when creating child processes. So just pretend that we changed the ++ * inheritance property of the given fd as requested. */ ++ return 0; + } + + #endif /* WIN32 */