Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10e74b75cb | ||
|
|
67283bdf89 | ||
|
|
e092293a63 | ||
|
|
41a6b3c03f | ||
|
|
31256f3d0d | ||
|
|
abac39a1b8 | ||
|
|
39e9be886f | ||
|
|
3db4281bc0 | ||
|
|
249ba7e495 | ||
|
|
33a8555d08 | ||
|
|
dfb6f9eee6 | ||
|
|
f5c4597c0a | ||
|
|
766bb232e8 | ||
|
|
266d5e2fcb | ||
|
|
c6cfdf3963 | ||
|
|
e3da3b01fc | ||
|
|
b340367499 | ||
|
|
ca7cc971b8 | ||
|
|
774125b7ed | ||
|
|
afd39d2091 | ||
|
|
cc16b7cd3a | ||
|
|
be942ea860 | ||
|
|
938b89f090 | ||
|
|
f7283923a3 | ||
|
|
1ad100593a | ||
|
|
21608be3b1 | ||
|
|
6347aef63f | ||
|
|
1c5d25ffeb | ||
|
|
8386ba3e9d | ||
|
|
03d3983515 | ||
|
|
1b0f3aaf64 | ||
|
|
647354eaf9 | ||
|
|
1392d7120d | ||
|
|
f80d27e126 | ||
|
|
63cd2ced20 | ||
|
|
cad1b6966f | ||
|
|
a27f478451 | ||
|
|
b94faf01a5 | ||
|
|
60a70c925a | ||
|
|
e184d967ac | ||
|
|
985ee7390d | ||
|
|
156ce5b5c7 | ||
|
|
77b02695ab | ||
|
|
50057212b3 | ||
|
|
c61c2c83ef | ||
|
|
e3e721c529 | ||
|
|
7bf08eb7cb | ||
|
|
0862e2b778 | ||
|
|
9ae002fc72 | ||
|
|
7749fc4a26 | ||
|
|
5b0f05f970 | ||
|
|
36079ddefa | ||
|
|
9abc69f078 | ||
|
|
f4d251ad6e | ||
|
|
b0d2e09842 | ||
|
|
b0dd011728 | ||
|
|
2513c9ff81 | ||
|
|
9ef5501a94 | ||
|
|
659f2f0b36 | ||
|
|
f3cac3532b | ||
|
|
6eb56c2e71 | ||
|
|
93a549eb1a | ||
|
|
f2a998ce76 | ||
|
|
8556d44e84 | ||
|
|
f8539fae13 | ||
|
|
80a3188a20 | ||
|
|
56d89b1d61 | ||
|
|
2a7828bae8 | ||
|
|
c879325741 | ||
|
|
edf6aa6cd7 | ||
|
|
163b87484b | ||
|
|
5828ec5da6 | ||
|
|
adaeee1c2c | ||
|
|
200f2942a9 | ||
|
|
cbf07f0551 | ||
|
|
eb9ceebe38 | ||
|
|
507eb37491 | ||
|
|
3e211fa0f6 | ||
|
|
d4bb64489a | ||
|
|
6d908194bf | ||
|
|
2333a80c1a | ||
|
|
f4fd6d7df6 | ||
|
|
c1a3411c3b | ||
|
|
619904f37a | ||
|
|
044c5b0665 | ||
|
|
50aba9b5a0 | ||
|
|
c98b586e70 | ||
|
|
987430ba8b | ||
|
|
58043b20fb | ||
|
|
f1888958a6 | ||
|
|
6c3d79e65d | ||
|
|
dc9be9b9a7 | ||
|
|
5e0d67787a | ||
|
|
662f0e2ba4 | ||
|
|
66060fa395 | ||
|
|
83def04a25 | ||
|
|
535bbcdd91 | ||
|
|
417e4c9cf7 | ||
|
|
24d349fa37 | ||
|
|
9f3b22fec4 | ||
|
|
7285a57f5c | ||
|
|
9944fa190c | ||
|
|
1a44dca7d4 | ||
|
|
0c2262d602 | ||
|
|
da598118cf | ||
|
|
da34e517db | ||
|
|
7b17ccd035 | ||
|
|
908a2f2a46 | ||
|
|
acf19787de | ||
|
|
c269619b9a | ||
|
|
3f6336f446 | ||
|
|
a552a10ec8 | ||
|
|
bfb8157052 | ||
|
|
edb5200d83 | ||
|
|
fe3f90dedd | ||
|
|
437df85540 | ||
|
|
2d6cbe6672 | ||
|
|
97a323d7c2 | ||
|
|
cb839d3dfc | ||
|
|
dc6b512f3c | ||
|
|
ac122f4525 | ||
|
|
7744acbb6b | ||
|
|
3807f07c15 | ||
|
|
e484fdc92b | ||
|
|
6752fe8c9e | ||
|
|
15f52369ae | ||
|
|
65a0e26138 | ||
|
|
497e096592 | ||
|
|
03a98aaf59 | ||
|
|
5845f1efec | ||
|
|
a8d01eb9d7 | ||
|
|
6d76ba5956 | ||
|
|
a11202d9e2 |
@@ -1,60 +0,0 @@
|
|||||||
From b776d049b8c89b033004ad9502270d4b255a1958 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Laine Stump <laine@redhat.com>
|
|
||||||
Date: Thu, 21 Jan 2021 16:01:06 -0500
|
|
||||||
Subject: [PATCH 1/2] build: support explicitly disabling netcf
|
|
||||||
|
|
||||||
placing "-Dnetcf=disabled" on the meson commandline was ignored,
|
|
||||||
meaning that even with that option the build would get WITH_NETCF if
|
|
||||||
the netcf-devel package was found - the only way to disable it was to
|
|
||||||
uninstall netcf-devel.
|
|
||||||
|
|
||||||
This patch adds the small bit of logic to check the netcf meson
|
|
||||||
commandline option (in addition to whether netcf-devel is installed)
|
|
||||||
before defining WITH_NETCF.
|
|
||||||
|
|
||||||
Signed-off-by: Laine Stump <laine@redhat.com>
|
|
||||||
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
|
|
||||||
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
||||||
(cherry picked from commit 06169a115d46d8870a96d293c2faf6ea87e71020)
|
|
||||||
---
|
|
||||||
meson.build | 10 ++++++----
|
|
||||||
1 file changed, 6 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/meson.build b/meson.build
|
|
||||||
index b5164f68ed..e9d6d9f82e 100644
|
|
||||||
--- a/meson.build
|
|
||||||
+++ b/meson.build
|
|
||||||
@@ -1155,8 +1155,10 @@ libm_dep = cc.find_library('m', required : false)
|
|
||||||
|
|
||||||
netcf_version = '0.1.8'
|
|
||||||
netcf_dep = dependency('netcf', version: '>=' + netcf_version, required: get_option('netcf'))
|
|
||||||
-if netcf_dep.found()
|
|
||||||
- conf.set('WITH_NETCF', 1)
|
|
||||||
+if not get_option('netcf').disabled()
|
|
||||||
+ if netcf_dep.found()
|
|
||||||
+ conf.set('WITH_NETCF', 1)
|
|
||||||
+ endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
have_gnu_gettext_tools = false
|
|
||||||
@@ -1550,7 +1552,7 @@ elif get_option('driver_hyperv').enabled()
|
|
||||||
error('openwsman is required for the Hyper-V driver')
|
|
||||||
endif
|
|
||||||
|
|
||||||
-if not get_option('driver_interface').disabled() and conf.has('WITH_LIBVIRTD') and (udev_dep.found() or netcf_dep.found())
|
|
||||||
+if not get_option('driver_interface').disabled() and conf.has('WITH_LIBVIRTD') and (udev_dep.found() or conf.has('WITH_NETCF'))
|
|
||||||
conf.set('WITH_INTERFACE', 1)
|
|
||||||
elif get_option('driver_interface').enabled()
|
|
||||||
error('Requested the Interface driver without netcf or udev and libvirtd support')
|
|
||||||
@@ -2362,7 +2364,7 @@ libs_summary = {
|
|
||||||
'libssh': libssh_dep.found(),
|
|
||||||
'libssh2': libssh2_dep.found(),
|
|
||||||
'libutil': libutil_dep.found(),
|
|
||||||
- 'netcf': netcf_dep.found(),
|
|
||||||
+ 'netcf': conf.has('WITH_NETCF'),
|
|
||||||
'NLS': have_gnu_gettext_tools,
|
|
||||||
'numactl': numactl_dep.found(),
|
|
||||||
'openwsman': openwsman_dep.found(),
|
|
||||||
--
|
|
||||||
2.29.2
|
|
||||||
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
From 845210011a9ffd9d17e30c51cbc81ba67c5d3166 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
Date: Tue, 20 Jan 2026 10:08:29 +0100
|
||||||
|
Subject: [PATCH] esx: Allow connecting to IPv6 server
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
When connecting to a VMWare server, the hostname from URI is
|
||||||
|
resolved using esxUtil_ResolveHostname() which in turn calls
|
||||||
|
getaddrinfo(). But in the hints argument, we restrict the return
|
||||||
|
address to be IPv4 (AF_INET) which obviously fails if the address
|
||||||
|
to resolve is an IPv6 address. Set the hint to AF_UNSPEC which
|
||||||
|
allows both IPv4 and IPv6. While at it, also allow IPv4 addresses
|
||||||
|
mapped in IPv6 by setting AI_V4MAPPED flag.
|
||||||
|
|
||||||
|
Resolves: https://issues.redhat.com/browse/RHEL-138300
|
||||||
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
|
||||||
|
---
|
||||||
|
src/esx/esx_util.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/esx/esx_util.c b/src/esx/esx_util.c
|
||||||
|
index 88b3dc893f..a6275babd5 100644
|
||||||
|
--- a/src/esx/esx_util.c
|
||||||
|
+++ b/src/esx/esx_util.c
|
||||||
|
@@ -275,8 +275,8 @@ esxUtil_ResolveHostname(const char *hostname, char **ipAddress)
|
||||||
|
int errcode;
|
||||||
|
g_autofree char *address = NULL;
|
||||||
|
|
||||||
|
- hints.ai_flags = AI_ADDRCONFIG;
|
||||||
|
- hints.ai_family = AF_INET;
|
||||||
|
+ hints.ai_flags = AI_ADDRCONFIG | AI_V4MAPPED;
|
||||||
|
+ hints.ai_family = AF_UNSPEC;
|
||||||
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
|
hints.ai_protocol = 0;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.52.0
|
||||||
|
|
||||||
+1776
-801
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
SHA512 (libvirt-7.0.0.tar.xz) = dd6db5ec4971cf4c6059795fd81d5a3a889b10740e34c3c92271eda1c683c99df2c8f923398065d8a7c4f987a20eb1da617d5297ba8ea5a31f154412af50c343
|
SHA512 (libvirt-12.0.0.tar.xz) = 5613e4e59865f688fe4cca2734c6de1cf68d0540c6e3013c9c21e583accd4f4fc21ec98e9c794036c5d6d0c8dd05ad1d22dab61f8c7d2934c8cb507b5bee76ad
|
||||||
|
|||||||
Reference in New Issue
Block a user