/src/util/virnetlink.h
index
327fb426a1d898398a60e46d3ee8fc554a2db548..56ee48161ada307e8af0bd2d4b8d7497a43e075c
100644
--- a/src/util/virnetlink.h
+++ b/src/util/virnetlink.h
@@ -22,7 +22,7 @@
#include "internal.h"
#include "virmacaddr.h"
-#if defined(WITH_LIBNL)
+#if defined(__linux__)
# include
# include
@@ -41,7 +41,7 @@ struct sockaddr_nl;
struct nlattr;
struct nlmsghdr;
-#endif /* WITH_LIBNL */
+#endif /* __linux__ */
int virNetlinkStartup(void);
void virNetlinkShutdown(void);
diff --git a/tests/virnetdevtest.c b/tests/virnetdevtest.c
index
42f1a74ee9ad66f40150920670a4f71518c9d610..99cf347934911aa4ae40bf61145e7817efbee97b
100644
--- a/tests/virnetdevtest.c
+++ b/tests/virnetdevtest.c
@@ -63,8 +63,6 @@ testVirNetDevGetLinkInfo(const void *opaque)
return 0;
}
-# if defined(WITH_LIBNL)
-
int
(*real_virNetDevSendVfSetLinkRequest)(const char *ifname,
int vfInfoType,
@@ -301,8 +299,6 @@ testVirNetDevSetVfConfig(const void *opaque G_GNUC_UNUSED)
return 0;
}
-# endif /* defined(WITH_LIBNL) */
-
static int
mymain(void)
{
@@ -320,8 +316,6 @@ mymain(void)
DO_TEST_LINK("lo", VIR_NETDEV_IF_STATE_UNKNOWN, 0);
DO_TEST_LINK("eth0-broken", VIR_NETDEV_IF_STATE_DOWN, 0);
-# if defined(WITH_LIBNL)
-
if (virTestRun("Set VF MAC", testVirNetDevSetVfMac, NULL) < 0)
ret = -1;
if (virTestRun("Set VF MAC: missing MAC pointer",
testVirNetDevSetVfMissingMac, NULL) < 0)
@@ -331,8 +325,6 @@ mymain(void)
if (virTestRun("Set VF Config", testVirNetDevSetVfConfig, NULL) < 0)
ret = -1;
-# endif /* defined(WITH_LIBNL) */
-
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}
---
base-commit: e5299ddf86121d3c792ca271ffcb54900eb19dc3
change-id: 20250308-require-289966671f9d
Best regards,
--
Akihiko Odaki
Trivial.
Resolves: https://issues.redhat.com/browse/RHEL-68043
Signed-off-by: Michal Privoznik
---
src/qemu/qemu_command.c | 2 ++
.../launch-security-sev-direct.x86_64-latest.args | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/qem
Now we are able to move the rest into virDomainGraphicsDefFormatSpice
without breaking order of elements in the resulting XML.
Signed-off-by: Pavel Hrdina
---
src/conf/domain_conf.c | 81 --
1 file changed, 39 insertions(+), 42 deletions(-)
diff --git a/s
Pavel Hrdina (16):
domain_conf: graphics: use a function to format gl element
domain_conf: graphics: use a function to format audio element
domain_conf: modernize graphics formatting
domain_conf: graphics: extract VNC formatting to separate function
domain_conf: graphics: extract SDL form
On Wed, Feb 19, 2025 at 22:27:11 +0530, Harikumar Rajkumar wrote:
> From: Chun Feng Wu
>
> Defined new public APIs:
> * virDomainSetThrottleGroup to add or update throttlegroup within specific
> domain,
> it will be referenced by throttlefilter later in disk to do limits
> * virDomainGetThrott