[libvirt] [PATCH v2 0/1] netlink events

From: "D. Herrendoerfer" <d.herrendoerfer@herrendoerfer.name> This is the second version of the netlink event code. it has most of the proposed changes by Eric and Daniel included. DirkH D. Herrendoerfer (1): Add netlink message event service daemon/libvirtd.c | 9 + src/Makefile.am | 1 + src/libvirt_private.syms | 8 + src/util/virnetlink.c | 447 ++++++++++++++++++++++++++++++++++++++++++++++ src/util/virnetlink.h | 64 +++++++ 5 files changed, 529 insertions(+), 0 deletions(-) create mode 100644 src/util/virnetlink.c create mode 100644 src/util/virnetlink.h -- 1.7.7.5

From: "D. Herrendoerfer" <d.herrendoerfer@herrendoerfer.name> This code adds an event service for netlink messages addressed to libvirt and passes the message to registered callback handlers. Itself, it makes use of the polling file event service and follows a similar design. Signed-off-by: D. Herrendoerfer <d.herrendoerfer@herrendoerfer.name> --- daemon/libvirtd.c | 9 + src/Makefile.am | 1 + src/libvirt_private.syms | 8 + src/util/virnetlink.c | 447 ++++++++++++++++++++++++++++++++++++++++++++++ src/util/virnetlink.h | 64 +++++++ 5 files changed, 529 insertions(+), 0 deletions(-) create mode 100644 src/util/virnetlink.c create mode 100644 src/util/virnetlink.h diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index b1b542b..37fe32b 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -55,6 +55,8 @@ #include "uuid.h" #include "viraudit.h" +#include "virnetlink.h" + #ifdef WITH_DRIVER_MODULES # include "driver.h" #else @@ -1598,6 +1600,12 @@ int main(int argc, char **argv) { goto cleanup; } + /* Register the netlink event service */ + if (virNetlinkEventServiceStart() < 0) { + ret = VIR_DAEMON_ERR_NETWORK; + goto cleanup; + } + /* Run event loop. */ virNetServerRun(srv); @@ -1607,6 +1615,7 @@ int main(int argc, char **argv) { 0, "shutdown", NULL); cleanup: + virNetlinkEventServiceStop(); virNetServerProgramFree(remoteProgram); virNetServerProgramFree(qemuProgram); virNetServerClose(srv); diff --git a/src/Makefile.am b/src/Makefile.am index 4a5d9f7..65e4f27 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -66,6 +66,7 @@ UTIL_SOURCES = \ util/dnsmasq.c util/dnsmasq.h \ util/json.c util/json.h \ util/logging.c util/logging.h \ + util/virnetlink.c util/virnetlink.h \ util/memory.c util/memory.h \ util/netlink.c util/netlink.h \ util/pci.c util/pci.h \ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index ce71d8b..33930af 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -737,6 +737,14 @@ virShrinkN; nlComm; +#virnetlink.h +virNetlinkEventServiceIsRunning; +virNetlinkEventServiceStop; +virNetlinkEventServiceStart; +virNetlinkEventAddClient; +virNetlinkEventRemoveClient; + + # netdev_bandwidth_conf.h virNetDevBandwidthFormat; virNetDevBandwidthParse; diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c new file mode 100644 index 0000000..37bf0ef --- /dev/null +++ b/src/util/virnetlink.c @@ -0,0 +1,447 @@ +/* + * virnetlink.c: event loop for monitoring netlink messages + * + * Copyright (C) 2011-2012 IBM Corporation. + * Copyright (C) 2011-2012 Dirk Herrendoerfer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Dirk Herrendoerfer <herrend[at]de[dot]ibm[dot]com> + */ + +#include <config.h> + +#include <asm/types.h> +#include <sys/socket.h> +#include <netlink/netlink.h> + +#include <errno.h> +#include <unistd.h> +#include <sys/types.h> + +#include "event.h" +#include "logging.h" +#include "memory.h" +#include "netlink.h" +#include "threads.h" +#include "virmacaddr.h" +#include "virnetlink.h" +#include "virterror_internal.h" + +#define VIR_FROM_THIS VIR_FROM_NET +#define virNetError(code, ...) \ + virReportErrorHelper(VIR_FROM_THIS, code, __FILE__, \ + __FUNCTION__, __LINE__, __VA_ARGS__) + +#if defined(__linux__) && defined(HAVE_LIBNL) + +/* State for a single netlink event handle */ +struct virNetlinkEventHandle { + int watch; + virNetlinkEventHandleCallback cb; + void *opaque; + unsigned char macaddr[VIR_MAC_BUFLEN]; + int deleted; +}; + +/* State for the main netlink event loop */ +struct virNetlinkEventLoop { + virMutex lock; + int handled; + size_t handlesCount; + size_t handlesAlloc; + struct virNetlinkEventHandle *handles; +}; + +typedef struct _virNetlinkEventSrvPrivate virNetlinkEventSrvPrivate; +typedef virNetlinkEventSrvPrivate *virNetlinkEventSrvPrivatePtr; +struct _virNetlinkEventSrvPrivate { + virMutex lock; + int eventwatch; + int netlinkfd; + struct nl_handle *netlinknh; +}; + +/* Only have one event loop */ +static struct virNetlinkEventLoop eventLoop; + +/* Unique ID for the next netlink watch to be registered */ +static int nextWatch = 1; + +/* Allocate extra slots for virEventPollHandle/virEventPollTimeout + records in this multiple */ +#define NETLINK_EVENT_ALLOC_EXTENT 10 + +static virNetlinkEventSrvPrivatePtr server = 0; + +/* Function definitions */ +static void +virNetlinkEventServerLock(virNetlinkEventSrvPrivatePtr driver) { + virMutexLock(&driver->lock); +} + +static void +virNetlinkEventServerUnlock(virNetlinkEventSrvPrivatePtr driver) { + virMutexUnlock(&driver->lock); +} + +static void +virNetlinkEventCallback(int watch, + int fd ATTRIBUTE_UNUSED, + int events ATTRIBUTE_UNUSED, + void *opaque) { + virNetlinkEventSrvPrivatePtr srv = opaque; + unsigned char *msg; + struct sockaddr_nl peer; + struct ucred *creds = NULL; + int i, length, handled; + + length = nl_recv(srv->netlinknh, &peer, &msg, &creds); + + virNetlinkEventServerLock(srv); + + handled=0; + + virMutexLock(&eventLoop.lock); + + VIR_DEBUG("dispatching to max %d clients, called from event watch %d", + (int)eventLoop.handlesCount, watch); + + for (i = 0 ; i < eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted) { + continue; + } + + VIR_DEBUG("dispatching client %d.",i); + + virNetlinkEventHandleCallback cb = eventLoop.handles[i].cb; + void *cpopaque = eventLoop.handles[i].opaque; + (cb)( msg, length, &peer, &handled, cpopaque); + } + + virMutexUnlock(&eventLoop.lock); + + if (handled == 0) { + VIR_DEBUG("nobody cared."); + } + + VIR_FREE(msg); + + for (i = 0 ; i < eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted == 1) { + VIR_FREE(eventLoop.handles[i].opaque); + eventLoop.handles[i].deleted = 2; + } + } + virNetlinkEventServerUnlock(srv); +} + +static int +setupNetlinkEventServer(virNetlinkEventSrvPrivatePtr srv) { + int fd; + + virNetlinkEventServerLock(srv); + + /* Allocate a new socket and get fd */ + srv->netlinknh = nl_handle_alloc(); + + if (!srv->netlinknh) { + virNetError(errno, + "%s", _("cannot allocate nlhandle for virNetlinkEvent server")); + return -1; + } + + if (nl_connect(srv->netlinknh, NETLINK_ROUTE) < 0) { + virNetError(errno, + "%s", _("cannot connect to netlink socket")); + goto exit_cleanup; + } + + fd = nl_socket_get_fd(srv->netlinknh); + nl_socket_set_nonblocking(srv->netlinknh); + + if ((srv->eventwatch = virEventAddHandle(fd, + VIR_EVENT_HANDLE_READABLE, + virNetlinkEventCallback, + srv, NULL)) < 0) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", + _("Failed to add netlink event handle watch")); + + goto exit_cleanup; + } + + srv->netlinkfd = fd; + VIR_DEBUG("netlink event listener on fd: %i",fd); + + virNetlinkEventServerUnlock(srv); + return 0; + +exit_cleanup: + nl_close(srv->netlinknh); + nl_handle_destroy(srv->netlinknh); + virNetlinkEventServerUnlock(srv); + return -1; +} + +/** + * virNetlinkEventServiceStop: + * + * stop the monitor to receive netlink messages for libvirtd. + * This removes the netlink socket fd from the event handler. + * + * returns -1 if the monitor cannot be unregistered, 0 upon success + */ +int +virNetlinkEventServiceStop(void) { + virNetlinkEventSrvPrivatePtr srv = server; + + VIR_INFO("stopping netlink event service"); + + if (!server) { + return 0; + } + + virNetlinkEventServerLock(srv); + + nl_close(srv->netlinknh); + nl_handle_destroy(srv->netlinknh); + + virEventRemoveHandle(srv->eventwatch); + server=0; + + virNetlinkEventServerUnlock(srv); + return 0; +} + +/** + * virNetlinkEventServiceIsRunning: + * + * returns if the netlink event service is running. + * + * returns 1 if the is running, 0 if stopped. + */ +int +virNetlinkEventServiceIsRunning(void) { + if (server) + return 1; + return 0; +} + +/** + * virNetlinkEventServiceStart: + * + * start a monitor to receive netlink messages for libvirtd. + * This registers a netlink socket with the event interface. + * + * returns -1 if the monitor cannot be registered, 0 upon success + */ +int +virNetlinkEventServiceStart(void) { + virNetlinkEventSrvPrivatePtr srv; + + if (server) { + return 0; + } + + VIR_INFO("starting netlink event service"); + + if (VIR_ALLOC(srv) < 0) + goto no_memory; + + if (setupNetlinkEventServer(srv)) { + goto error; + } + + VIR_DEBUG("netlink event service running"); + + server=srv; + return 0; + + no_memory: + virReportOOMError(); + error: + return -1; +} + +/** + * virNetlinkEventAddClient: + * + * @cb: callback to invoke when an event occurs + * @opaque: user data to pass to callback + * @macaddr: macaddr to store with the data. Used to identify callers. May be null. + * + * register a callback for handling of netlink messages. The + * registered function receives the entire netlink message and + * may choose to act upon it. + * + * returns -1 if the file handle cannot be registered, number of monitor upon success + */ +int +virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, + void *opaque, + const unsigned char *macaddr) { + int i,r, result; + + virMutexLock(&eventLoop.lock); + + VIR_DEBUG("adding client: %d.",nextWatch); + + r = 0; + /* first try to re-use deleted free slots */ + for (i = 0 ; i < eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted == 2) { + r = i; + goto addentry; + } + } + /* Resize the eventLoop array if needed */ + if (eventLoop.handlesCount == eventLoop.handlesAlloc) { + VIR_DEBUG("Used %zu handle slots, adding at least %d more", + eventLoop.handlesAlloc, NETLINK_EVENT_ALLOC_EXTENT); + if (VIR_RESIZE_N(eventLoop.handles, eventLoop.handlesAlloc, + eventLoop.handlesCount, NETLINK_EVENT_ALLOC_EXTENT) < 0) { + virMutexUnlock(&eventLoop.lock); + return -1; + } + } + r = eventLoop.handlesCount; + +addentry: + eventLoop.handles[r].watch = nextWatch; + eventLoop.handles[r].cb = cb; + eventLoop.handles[r].opaque = opaque; + eventLoop.handles[r].deleted = 0; + if (macaddr) + memcpy(eventLoop.handles[r].macaddr, macaddr,VIR_MAC_BUFLEN); + + VIR_DEBUG("added client to loop slot: %d.",(int)eventLoop.handlesCount); + + eventLoop.handlesCount++; + result = nextWatch++; + virMutexUnlock(&eventLoop.lock); + + return result; +} + +/** + * virNetlinkEventRemoveClient: + * + * @watch: watch whose handle to remove + * @macaddr: macaddr whose handle to remove + * + * Unregister a callback from a netlink monitor. + * The handler function referenced will no longer receive netlink messages. + * Either watch or macaddr may be used, the other should be null. + * + * returns -1 if the file handle was not registered, 0 upon success + */ +int +virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr) { + int i; + + if (watch <= 0 && macaddr == 0) { + VIR_WARN("Ignoring invalid netlink client id: %d", watch); + return -1; + } + + virMutexLock(&eventLoop.lock); + for (i = 0 ; i < eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted) + continue; + + if (watch != 0 && eventLoop.handles[i].watch == watch) { + eventLoop.handles[i].deleted = 1; + virMutexUnlock(&eventLoop.lock); + VIR_DEBUG("removed client: %d by index.", + eventLoop.handles[i].watch); + return 0; + } + if (watch == 0 && memcmp(macaddr, eventLoop.handles[i].macaddr, VIR_MAC_BUFLEN)) { + eventLoop.handles[i].deleted = 1; + virMutexUnlock(&eventLoop.lock); + VIR_DEBUG("removed client: %d by mac.", + eventLoop.handles[i].watch); + return 0; + } + } + virMutexUnlock(&eventLoop.lock); + + VIR_DEBUG("client not found to remove."); + return -1; +} + +#else + +/** + * stopNetlinkEventServer: stop the monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStop(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkEventServiceStop is not supported since libnl was not available")); +# endif + return 0; + +} + +/** + * startNetlinkEventServer: start a monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStart(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkEventServiceStart is not supported since libnl was not available")); +# endif + return 0; +} + +/** + * virNetlinkEventServiceIsRunning: returns if the netlink event service is running. + */ +int virNetlinkEventServiceIsRunning(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkEventServiceIsRunning is not supported since libnl was not available")); +# endif + return 0; +} + +/** + * virNetlinkEventAddClient: register a callback for handling of netlink messages + */ +int virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, void *opaque, const unsigned char *macaddr) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkEventServiceAddClient is not supported since libnl was not available")); +# else + _("virNetlinkEventServiceAddClient is not supported on non-linux platforms")); +# endif + return -1; +} + +/** + * virNetlinkEventRemoveClient: unregister a callback from a netlink monitor + */ +int virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkEventRemoveClient is not supported since libnl was not available")); +# else + _("virNetlinkEventRemoveClient is not supported on non-linux platforms")); +# endif + return -1; +} + +#endif // __linux__ && HAVE_LIBNL diff --git a/src/util/virnetlink.h b/src/util/virnetlink.h new file mode 100644 index 0000000..25e2636 --- /dev/null +++ b/src/util/virnetlink.h @@ -0,0 +1,64 @@ +/* + * virnetlink.h: event loop for monitoring netlink messages + * + * Copyright (C) 2011-2012 IBM Corporation. + * Copyright (C) 2011-2012 Dirk Herrendoerfer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Dirk Herrendoerfer <herrend[at]de[dot]ibm[dot]com> + */ + +#ifndef NETLINK_EVENT_CONF_H +# define NETLINK_EVENT_CONF_H + +# if defined(__linux__) && defined(HAVE_LIBNL) + +# include <netlink/netlink.h> + +# else + struct sockaddr_nl; +# endif // __linux__ && HAVE_LIBNL + +#include "internal.h" + +typedef void (*virNetlinkEventHandleCallback)( unsigned char *msg, int length, struct sockaddr_nl *peer, int *handled, void *opaque); + +/** + * stopNetlinkEventServer: stop the monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStop(void); + +/** + * startNetlinkEventServer: start a monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStart(void); + +/** + * virNetlinkEventServiceIsRunning: returns if the netlink event service is running. + */ +int virNetlinkEventServiceIsRunning(void); + +/** + * virNetlinkEventAddClient: register a callback for handling of netlink messages + */ +int virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, void *opaque, const unsigned char *macaddr); + +/** + * virNetlinkEventRemoveClient: unregister a callback from a netlink monitor + */ +int virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr); + +#endif /* NETLINK_EVENT_CONF_H */ -- 1.7.7.5

On 02/02/2012 11:22 AM, D. Herrendoerfer wrote:
From: "D. Herrendoerfer"<d.herrendoerfer@herrendoerfer.name>
This is the second version of the netlink event code. it has most of the proposed changes by Eric and Daniel included.
(actually Laine and Daniel :-)
From: "D. Herrendoerfer"<d.herrendoerfer@herrendoerfer.name>
This code adds an event service for netlink messages addressed to libvirt and passes the message to registered callback handlers. Itself, it makes use of the polling file event service and follows a similar design.
Signed-off-by: D. Herrendoerfer<d.herrendoerfer@herrendoerfer.name> --- daemon/libvirtd.c | 9 + src/Makefile.am | 1 + src/libvirt_private.syms | 8 + src/util/virnetlink.c | 447 ++++++++++++++++++++++++++++++++++++++++++++++ src/util/virnetlink.h | 64 +++++++ 5 files changed, 529 insertions(+), 0 deletions(-) create mode 100644 src/util/virnetlink.c create mode 100644 src/util/virnetlink.h
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index b1b542b..37fe32b 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -55,6 +55,8 @@ #include "uuid.h" #include "viraudit.h"
+#include "virnetlink.h" + #ifdef WITH_DRIVER_MODULES # include "driver.h" #else @@ -1598,6 +1600,12 @@ int main(int argc, char **argv) { goto cleanup; }
+ /* Register the netlink event service */ + if (virNetlinkEventServiceStart()< 0) { + ret = VIR_DAEMON_ERR_NETWORK; + goto cleanup; + } + /* Run event loop. */ virNetServerRun(srv);
@@ -1607,6 +1615,7 @@ int main(int argc, char **argv) { 0, "shutdown", NULL);
cleanup: + virNetlinkEventServiceStop(); virNetServerProgramFree(remoteProgram); virNetServerProgramFree(qemuProgram); virNetServerClose(srv); diff --git a/src/Makefile.am b/src/Makefile.am index 4a5d9f7..65e4f27 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -66,6 +66,7 @@ UTIL_SOURCES = \ util/dnsmasq.c util/dnsmasq.h \ util/json.c util/json.h \ util/logging.c util/logging.h \ + util/virnetlink.c util/virnetlink.h \ util/memory.c util/memory.h \ util/netlink.c util/netlink.h \ util/pci.c util/pci.h \ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index ce71d8b..33930af 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -737,6 +737,14 @@ virShrinkN; nlComm;
+#virnetlink.h +virNetlinkEventServiceIsRunning; +virNetlinkEventServiceStop; +virNetlinkEventServiceStart; +virNetlinkEventAddClient; +virNetlinkEventRemoveClient; + + # netdev_bandwidth_conf.h virNetDevBandwidthFormat; virNetDevBandwidthParse; diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c new file mode 100644 index 0000000..37bf0ef --- /dev/null +++ b/src/util/virnetlink.c @@ -0,0 +1,447 @@ +/* + * virnetlink.c: event loop for monitoring netlink messages + * + * Copyright (C) 2011-2012 IBM Corporation. + * Copyright (C) 2011-2012 Dirk Herrendoerfer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Dirk Herrendoerfer<herrend[at]de[dot]ibm[dot]com> + */ + +#include<config.h> + +#include<asm/types.h> +#include<sys/socket.h> +#include<netlink/netlink.h>
This would fail to compile on a system that didn't have netlink installed. You should include "netlink.h" here instead - this is a file in src/util that only includes <netlink/msg.h> (which itself includes <netlink/netlink.h> if HAVE_LIBNL is defined.) Actually, now that I've noticed that file, I actually think util/netlink.[ch] should be merged into your util/virnetlink.[ch]. The functions in both are related to netlink, and the name virnetlink fits better with the naming scheme. This should probably be done by first renaming netlink.[ch] to virnetlink.[ch] (and at the same time renaming the nlComm() function to virNetlinkCommand() to be more consistent with the naming scheme), then adding your functions into that file. (sorry for not noticing this before).
+ +#include<errno.h> +#include<unistd.h> +#include<sys/types.h> + +#include "event.h" +#include "logging.h" +#include "memory.h" +#include "netlink.h" +#include "threads.h" +#include "virmacaddr.h" +#include "virnetlink.h" +#include "virterror_internal.h" + +#define VIR_FROM_THIS VIR_FROM_NET +#define virNetError(code, ...) \ + virReportErrorHelper(VIR_FROM_THIS, code, __FILE__, \ + __FUNCTION__, __LINE__, __VA_ARGS__) + +#if defined(__linux__)&& defined(HAVE_LIBNL) + +/* State for a single netlink event handle */ +struct virNetlinkEventHandle { + int watch; + virNetlinkEventHandleCallback cb; + void *opaque; + unsigned char macaddr[VIR_MAC_BUFLEN]; + int deleted; +}; + +/* State for the main netlink event loop */ +struct virNetlinkEventLoop { + virMutex lock; + int handled; + size_t handlesCount; + size_t handlesAlloc; + struct virNetlinkEventHandle *handles; +}; + +typedef struct _virNetlinkEventSrvPrivate virNetlinkEventSrvPrivate; +typedef virNetlinkEventSrvPrivate *virNetlinkEventSrvPrivatePtr; +struct _virNetlinkEventSrvPrivate { + virMutex lock; + int eventwatch; + int netlinkfd; + struct nl_handle *netlinknh; +}; + +/* Only have one event loop */ +static struct virNetlinkEventLoop eventLoop; + +/* Unique ID for the next netlink watch to be registered */ +static int nextWatch = 1; + +/* Allocate extra slots for virEventPollHandle/virEventPollTimeout + records in this multiple */ +#define NETLINK_EVENT_ALLOC_EXTENT 10 + +static virNetlinkEventSrvPrivatePtr server = 0; + +/* Function definitions */ +static void +virNetlinkEventServerLock(virNetlinkEventSrvPrivatePtr driver) { + virMutexLock(&driver->lock); +} + +static void +virNetlinkEventServerUnlock(virNetlinkEventSrvPrivatePtr driver) { + virMutexUnlock(&driver->lock); +} + +static void +virNetlinkEventCallback(int watch, + int fd ATTRIBUTE_UNUSED, + int events ATTRIBUTE_UNUSED, + void *opaque) { + virNetlinkEventSrvPrivatePtr srv = opaque; + unsigned char *msg; + struct sockaddr_nl peer; + struct ucred *creds = NULL; + int i, length, handled; + + length = nl_recv(srv->netlinknh,&peer,&msg,&creds); + + virNetlinkEventServerLock(srv); + + handled=0; + + virMutexLock(&eventLoop.lock); + + VIR_DEBUG("dispatching to max %d clients, called from event watch %d", + (int)eventLoop.handlesCount, watch); + + for (i = 0 ; i< eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted) { + continue; + } + + VIR_DEBUG("dispatching client %d.",i); + + virNetlinkEventHandleCallback cb = eventLoop.handles[i].cb; + void *cpopaque = eventLoop.handles[i].opaque; + (cb)( msg, length,&peer,&handled, cpopaque);
Is there ever any chance that cb could be NULL?
+ } + + virMutexUnlock(&eventLoop.lock); + + if (handled == 0) { + VIR_DEBUG("nobody cared."); + } + + VIR_FREE(msg); + + for (i = 0 ; i< eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted == 1) { + VIR_FREE(eventLoop.handles[i].opaque); + eventLoop.handles[i].deleted = 2; + } + } + virNetlinkEventServerUnlock(srv); +} + +static int +setupNetlinkEventServer(virNetlinkEventSrvPrivatePtr srv) { + int fd;
This function never initializes either of the mutexes used by the service. It should call virMutexInit() for each mutex (and be careful not to call virMutex(Lock|Unlock|Destroy) in the cleanup path if that fails).
+ + virNetlinkEventServerLock(srv); + + /* Allocate a new socket and get fd */ + srv->netlinknh = nl_handle_alloc(); + + if (!srv->netlinknh) { + virNetError(errno, + "%s", _("cannot allocate nlhandle for virNetlinkEvent server")); + return -1; + } + + if (nl_connect(srv->netlinknh, NETLINK_ROUTE)< 0) { + virNetError(errno, + "%s", _("cannot connect to netlink socket")); + goto exit_cleanup; + } + + fd = nl_socket_get_fd(srv->netlinknh); + nl_socket_set_nonblocking(srv->netlinknh); + + if ((srv->eventwatch = virEventAddHandle(fd, + VIR_EVENT_HANDLE_READABLE, + virNetlinkEventCallback, + srv, NULL))< 0) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", + _("Failed to add netlink event handle watch")); + + goto exit_cleanup; + } + + srv->netlinkfd = fd; + VIR_DEBUG("netlink event listener on fd: %i",fd); + + virNetlinkEventServerUnlock(srv); + return 0; + +exit_cleanup: + nl_close(srv->netlinknh); + nl_handle_destroy(srv->netlinknh);
I notice there are TAB characters at several places in your patch. the libvirt standards are that all indentation is done with spaces, not TABS. Please configure your editor to use spaces (and run "make syntax-check" before submission).
+ virNetlinkEventServerUnlock(srv); + return -1; +} + +/** + * virNetlinkEventServiceStop: + * + * stop the monitor to receive netlink messages for libvirtd. + * This removes the netlink socket fd from the event handler. + * + * returns -1 if the monitor cannot be unregistered, 0 upon success + */ +int +virNetlinkEventServiceStop(void) { + virNetlinkEventSrvPrivatePtr srv = server; + + VIR_INFO("stopping netlink event service"); + + if (!server) { + return 0; + } + + virNetlinkEventServerLock(srv); + + nl_close(srv->netlinknh); + nl_handle_destroy(srv->netlinknh); + + virEventRemoveHandle(srv->eventwatch); + server=0; + + virNetlinkEventServerUnlock(srv); + return 0; +} + +/** + * virNetlinkEventServiceIsRunning: + * + * returns if the netlink event service is running. + * + * returns 1 if the is running, 0 if stopped. + */ +int +virNetlinkEventServiceIsRunning(void) { + if (server) + return 1; + return 0; +} + +/** + * virNetlinkEventServiceStart: + * + * start a monitor to receive netlink messages for libvirtd. + * This registers a netlink socket with the event interface. + * + * returns -1 if the monitor cannot be registered, 0 upon success + */ +int +virNetlinkEventServiceStart(void) { + virNetlinkEventSrvPrivatePtr srv; + + if (server) { + return 0; + } + + VIR_INFO("starting netlink event service"); + + if (VIR_ALLOC(srv)< 0) + goto no_memory; + + if (setupNetlinkEventServer(srv)) {
If the setup fails, you've leaked srv - you need to free it.
+ goto error; + } + + VIR_DEBUG("netlink event service running"); + + server=srv; + return 0; + + no_memory: + virReportOOMError(); + error: + return -1; +} + +/** + * virNetlinkEventAddClient: + * + * @cb: callback to invoke when an event occurs + * @opaque: user data to pass to callback + * @macaddr: macaddr to store with the data. Used to identify callers. May be null. + * + * register a callback for handling of netlink messages. The + * registered function receives the entire netlink message and + * may choose to act upon it. + * + * returns -1 if the file handle cannot be registered, number of monitor upon success + */ +int +virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, + void *opaque, + const unsigned char *macaddr) { + int i,r, result; + + virMutexLock(&eventLoop.lock); + + VIR_DEBUG("adding client: %d.",nextWatch); + + r = 0; + /* first try to re-use deleted free slots */ + for (i = 0 ; i< eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted == 2) {
It looks like a value of 1 means "in the process of deleting", and 2 means "deleted and available". Rather than having magic values, I think it would be better to have an enum for this. Also, I notice that an entry will only move from "deleting" to "available" if there is a netlink event. So if there are no events, the entry would never become available again. Can you maybe force an event after you've marked an entry as "deleting"? Or maybe your existing locks are enough that you don't even need to do that, just have bool deleted and set it directly from false to true in the RemoveClient function.
+ r = i; + goto addentry; + } + } + /* Resize the eventLoop array if needed */ + if (eventLoop.handlesCount == eventLoop.handlesAlloc) { + VIR_DEBUG("Used %zu handle slots, adding at least %d more", + eventLoop.handlesAlloc, NETLINK_EVENT_ALLOC_EXTENT); + if (VIR_RESIZE_N(eventLoop.handles, eventLoop.handlesAlloc, + eventLoop.handlesCount, NETLINK_EVENT_ALLOC_EXTENT)< 0) { + virMutexUnlock(&eventLoop.lock); + return -1; + } + } + r = eventLoop.handlesCount; + +addentry: + eventLoop.handles[r].watch = nextWatch; + eventLoop.handles[r].cb = cb; + eventLoop.handles[r].opaque = opaque; + eventLoop.handles[r].deleted = 0; + if (macaddr) + memcpy(eventLoop.handles[r].macaddr, macaddr,VIR_MAC_BUFLEN); + + VIR_DEBUG("added client to loop slot: %d.",(int)eventLoop.handlesCount); + + eventLoop.handlesCount++;
You've just increased the total handlesCount even if you had found an empty entry in the middle. Instead, you should remove the increment here, and change the line before addentry: to "r = eventLoop.handlesCount++;
+ result = nextWatch++; + virMutexUnlock(&eventLoop.lock); + + return result; +} + +/** + * virNetlinkEventRemoveClient: + * + * @watch: watch whose handle to remove + * @macaddr: macaddr whose handle to remove + * + * Unregister a callback from a netlink monitor. + * The handler function referenced will no longer receive netlink messages. + * Either watch or macaddr may be used, the other should be null. + * + * returns -1 if the file handle was not registered, 0 upon success + */ +int +virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr) { + int i; + + if (watch<= 0&& macaddr == 0) { + VIR_WARN("Ignoring invalid netlink client id: %d", watch); + return -1; + } + + virMutexLock(&eventLoop.lock); + for (i = 0 ; i< eventLoop.handlesCount ; i++) { + if (eventLoop.handles[i].deleted) + continue; + + if (watch != 0&& eventLoop.handles[i].watch == watch) { + eventLoop.handles[i].deleted = 1; + virMutexUnlock(&eventLoop.lock); + VIR_DEBUG("removed client: %d by index.", + eventLoop.handles[i].watch); + return 0; + } + if (watch == 0&& memcmp(macaddr, eventLoop.handles[i].macaddr, VIR_MAC_BUFLEN)) { + eventLoop.handles[i].deleted = 1; + virMutexUnlock(&eventLoop.lock); + VIR_DEBUG("removed client: %d by mac.", + eventLoop.handles[i].watch); + return 0; + } + }
Multiple returns in a function, and multiple Unlocks, always make me nervous. How about initializing an int ret = -1, then setting it to 0 if either watch or macaddr is matched, then breaking out of the loop early and doing "if (found) { ..... } else { }; followed by a single virMutexUnlock, and "return ret;"?
+ virMutexUnlock(&eventLoop.lock); + + VIR_DEBUG("client not found to remove."); + return -1; +} + +#else + +/** + * stopNetlinkEventServer: stop the monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStop(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__)&& !defined(HAVE_LIBNL) + _("virNetlinkEventServiceStop is not supported since libnl was not available")); +# endif + return 0; + +} + +/** + * startNetlinkEventServer: start a monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStart(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__)&& !defined(HAVE_LIBNL) + _("virNetlinkEventServiceStart is not supported since libnl was not available")); +# endif + return 0; +} + +/** + * virNetlinkEventServiceIsRunning: returns if the netlink event service is running. + */ +int virNetlinkEventServiceIsRunning(void) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__)&& !defined(HAVE_LIBNL) + _("virNetlinkEventServiceIsRunning is not supported since libnl was not available")); +# endif + return 0; +} + +/** + * virNetlinkEventAddClient: register a callback for handling of netlink messages + */ +int virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, void *opaque, const unsigned char *macaddr) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__)&& !defined(HAVE_LIBNL) + _("virNetlinkEventServiceAddClient is not supported since libnl was not available")); +# else + _("virNetlinkEventServiceAddClient is not supported on non-linux platforms")); +# endif + return -1; +} + +/** + * virNetlinkEventRemoveClient: unregister a callback from a netlink monitor + */ +int virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr) { + virNetError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__)&& !defined(HAVE_LIBNL) + _("virNetlinkEventRemoveClient is not supported since libnl was not available")); +# else + _("virNetlinkEventRemoveClient is not supported on non-linux platforms")); +# endif + return -1; +} + +#endif // __linux__&& HAVE_LIBNL diff --git a/src/util/virnetlink.h b/src/util/virnetlink.h new file mode 100644 index 0000000..25e2636 --- /dev/null +++ b/src/util/virnetlink.h @@ -0,0 +1,64 @@ +/* + * virnetlink.h: event loop for monitoring netlink messages + * + * Copyright (C) 2011-2012 IBM Corporation. + * Copyright (C) 2011-2012 Dirk Herrendoerfer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Dirk Herrendoerfer<herrend[at]de[dot]ibm[dot]com> + */ + +#ifndef NETLINK_EVENT_CONF_H +# define NETLINK_EVENT_CONF_H + +# if defined(__linux__)&& defined(HAVE_LIBNL) + +# include<netlink/netlink.h> + +# else + struct sockaddr_nl; +# endif // __linux__&& HAVE_LIBNL + +#include "internal.h" + +typedef void (*virNetlinkEventHandleCallback)( unsigned char *msg, int length, struct sockaddr_nl *peer, int *handled, void *opaque); + +/** + * stopNetlinkEventServer: stop the monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStop(void); + +/** + * startNetlinkEventServer: start a monitor to receive netlink messages for libvirtd + */ +int virNetlinkEventServiceStart(void); + +/** + * virNetlinkEventServiceIsRunning: returns if the netlink event service is running. + */ +int virNetlinkEventServiceIsRunning(void); + +/** + * virNetlinkEventAddClient: register a callback for handling of netlink messages + */ +int virNetlinkEventAddClient(virNetlinkEventHandleCallback cb, void *opaque, const unsigned char *macaddr); + +/** + * virNetlinkEventRemoveClient: unregister a callback from a netlink monitor + */ +int virNetlinkEventRemoveClient(int watch, const unsigned char *macaddr); + +#endif /* NETLINK_EVENT_CONF_H */

From: "D. Herrendoerfer" <d.herrendoerfer@herrendoerfer.name> To Laines (!) reply, this is the renamed code, I will base my further work on this. I hope I didn't oversee anything. DirkH D. Herrendoerfer (1): Rename netlink.[ch] to virnetlink.[ch] po/POTFILES.in | 2 +- po/af.po | 20 +++--- po/am.po | 20 +++--- po/ar.po | 20 +++--- po/as.po | 20 +++--- po/be.po | 20 +++--- po/bg.po | 20 +++--- po/bn.po | 20 +++--- po/bn_IN.po | 20 +++--- po/bs.po | 20 +++--- po/ca.po | 20 +++--- po/cs.po | 20 +++--- po/cy.po | 20 +++--- po/da.po | 20 +++--- po/de.po | 20 +++--- po/el.po | 20 +++--- po/en_GB.po | 20 +++--- po/es.po | 22 +++--- po/et.po | 20 +++--- po/eu_ES.po | 20 +++--- po/fa.po | 20 +++--- po/fi.po | 20 +++--- po/fr.po | 20 +++--- po/gl.po | 20 +++--- po/gu.po | 20 +++--- po/he.po | 20 +++--- po/hi.po | 20 +++--- po/hr.po | 20 +++--- po/hu.po | 20 +++--- po/hy.po | 20 +++--- po/id.po | 20 +++--- po/is.po | 20 +++--- po/it.po | 20 +++--- po/ja.po | 24 +++--- po/ka.po | 20 +++--- po/kn.po | 20 +++--- po/ko.po | 20 +++--- po/ku.po | 20 +++--- po/libvirt.pot | 4 +- po/lo.po | 20 +++--- po/lt.po | 20 +++--- po/lv.po | 20 +++--- po/mk.po | 20 +++--- po/ml.po | 20 +++--- po/mr.po | 20 +++--- po/ms.po | 20 +++--- po/my.po | 20 +++--- po/nb.po | 20 +++--- po/nl.po | 20 +++--- po/nn.po | 20 +++--- po/nso.po | 20 +++--- po/or.po | 20 +++--- po/pa.po | 20 +++--- po/pl.po | 20 +++--- po/pt.po | 20 +++--- po/pt_BR.po | 20 +++--- po/ro.po | 20 +++--- po/ru.po | 20 +++--- po/si.po | 20 +++--- po/sk.po | 20 +++--- po/sl.po | 20 +++--- po/sq.po | 20 +++--- po/sr.po | 20 +++--- po/sr@latin.po | 20 +++--- po/sv.po | 20 +++--- po/ta.po | 20 +++--- po/te.po | 20 +++--- po/th.po | 20 +++--- po/tr.po | 20 +++--- po/uk.po | 24 +++--- po/ur.po | 20 +++--- po/vi.po | 20 +++--- po/vi_VN.po | 20 +++--- po/zh_CN.po | 20 +++--- po/zh_TW.po | 20 +++--- po/zu.po | 20 +++--- src/Makefile.am | 2 +- src/libvirt_private.syms | 4 +- src/util/netlink.c | 154 ------------------------------------- src/util/netlink.h | 39 ---------- src/util/virnetdevmacvlan.c | 6 +- src/util/virnetdevvportprofile.c | 6 +- src/util/virnetlink.c | 157 ++++++++++++++++++++++++++++++++++++++ src/util/virnetlink.h | 39 ++++++++++ 84 files changed, 953 insertions(+), 950 deletions(-) delete mode 100644 src/util/netlink.c delete mode 100644 src/util/netlink.h create mode 100644 src/util/virnetlink.c create mode 100644 src/util/virnetlink.h -- 1.7.7.5

From: "D. Herrendoerfer" <d.herrendoerfer@herrendoerfer.name> Rename the src/util/netlink files to src/util/virnetlink to better fit the naming scheme. Also rename nlComm to virNetlinkCommand. Signed-off-by: D. Herrendoerfer <d.herrendoerfer@herrendoerfer.name> --- po/POTFILES.in | 2 +- po/af.po | 20 +++--- po/am.po | 20 +++--- po/ar.po | 20 +++--- po/as.po | 20 +++--- po/be.po | 20 +++--- po/bg.po | 20 +++--- po/bn.po | 20 +++--- po/bn_IN.po | 20 +++--- po/bs.po | 20 +++--- po/ca.po | 20 +++--- po/cs.po | 20 +++--- po/cy.po | 20 +++--- po/da.po | 20 +++--- po/de.po | 20 +++--- po/el.po | 20 +++--- po/en_GB.po | 20 +++--- po/es.po | 22 +++--- po/et.po | 20 +++--- po/eu_ES.po | 20 +++--- po/fa.po | 20 +++--- po/fi.po | 20 +++--- po/fr.po | 20 +++--- po/gl.po | 20 +++--- po/gu.po | 20 +++--- po/he.po | 20 +++--- po/hi.po | 20 +++--- po/hr.po | 20 +++--- po/hu.po | 20 +++--- po/hy.po | 20 +++--- po/id.po | 20 +++--- po/is.po | 20 +++--- po/it.po | 20 +++--- po/ja.po | 24 +++--- po/ka.po | 20 +++--- po/kn.po | 20 +++--- po/ko.po | 20 +++--- po/ku.po | 20 +++--- po/libvirt.pot | 4 +- po/lo.po | 20 +++--- po/lt.po | 20 +++--- po/lv.po | 20 +++--- po/mk.po | 20 +++--- po/ml.po | 20 +++--- po/mr.po | 20 +++--- po/ms.po | 20 +++--- po/my.po | 20 +++--- po/nb.po | 20 +++--- po/nl.po | 20 +++--- po/nn.po | 20 +++--- po/nso.po | 20 +++--- po/or.po | 20 +++--- po/pa.po | 20 +++--- po/pl.po | 20 +++--- po/pt.po | 20 +++--- po/pt_BR.po | 20 +++--- po/ro.po | 20 +++--- po/ru.po | 20 +++--- po/si.po | 20 +++--- po/sk.po | 20 +++--- po/sl.po | 20 +++--- po/sq.po | 20 +++--- po/sr.po | 20 +++--- po/sr@latin.po | 20 +++--- po/sv.po | 20 +++--- po/ta.po | 20 +++--- po/te.po | 20 +++--- po/th.po | 20 +++--- po/tr.po | 20 +++--- po/uk.po | 24 +++--- po/ur.po | 20 +++--- po/vi.po | 20 +++--- po/vi_VN.po | 20 +++--- po/zh_CN.po | 20 +++--- po/zh_TW.po | 20 +++--- po/zu.po | 20 +++--- src/Makefile.am | 2 +- src/libvirt_private.syms | 4 +- src/util/netlink.c | 154 ------------------------------------- src/util/netlink.h | 39 ---------- src/util/virnetdevmacvlan.c | 6 +- src/util/virnetdevvportprofile.c | 6 +- src/util/virnetlink.c | 157 ++++++++++++++++++++++++++++++++++++++ src/util/virnetlink.h | 39 ++++++++++ 84 files changed, 953 insertions(+), 950 deletions(-) delete mode 100644 src/util/netlink.c delete mode 100644 src/util/netlink.h create mode 100644 src/util/virnetlink.c create mode 100644 src/util/virnetlink.h diff --git a/po/POTFILES.in b/po/POTFILES.in index cbe62dd..ee4c75b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -116,7 +116,7 @@ src/util/hostusb.c src/util/iohelper.c src/util/iptables.c src/util/json.c -src/util/netlink.c +src/util/virnetlink.c src/util/pci.c src/util/processinfo.c src/util/sexpr.c diff --git a/po/af.po b/po/af.po index 7a25fe3..9507db1 100644 --- a/po/af.po +++ b/po/af.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/am.po b/po/am.po index 7a25fe3..9507db1 100644 --- a/po/am.po +++ b/po/am.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/ar.po b/po/ar.po index 7a25fe3..9507db1 100644 --- a/po/ar.po +++ b/po/ar.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/as.po b/po/as.po index db69379..4d061a3 100644 --- a/po/as.po +++ b/po/as.po @@ -17330,42 +17330,42 @@ msgstr "পাইপ নিৰ্মাণ কৰিবলৈ ব্যৰ্থ msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlist বিতৰণ কৰোঁতে ব্যৰ্থ" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "ছকেট খুলিব নোৱাৰি" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "ছকেট খুলিব নোৱাৰি" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" # c-format -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "মাইগ্ৰেট কৰিবলৈ বিফলল: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "cpu affinity সমৰ্থিত নহয়" # c-format diff --git a/po/be.po b/po/be.po index 7a25fe3..9507db1 100644 --- a/po/be.po +++ b/po/be.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/bg.po b/po/bg.po index 7c3c629..f5e9f4d 100644 --- a/po/bg.po +++ b/po/bg.po @@ -16258,39 +16258,39 @@ msgstr "Неуспех при опит за създаване на XML файл msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "неуспешно свързване към xen хранилище" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "грешка при операцията" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "тази функция не се поддържа от хипервайзора" #: src/util/pci.c:624 diff --git a/po/bn.po b/po/bn.po index 7a25fe3..9507db1 100644 --- a/po/bn.po +++ b/po/bn.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/bn_IN.po b/po/bn_IN.po index e4680d5..47c2eff 100644 --- a/po/bn_IN.po +++ b/po/bn_IN.po @@ -16398,41 +16398,41 @@ msgstr "পাইপ নির্মাণ করতে ব্যর্থ" msgid "No JSON parser implementation is available" msgstr "কোনো JSON পার্সারের বাস্তবায়ন উপলব্ধ নেই" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlist বরাদ্দ করতে ব্যর্থ" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "netlink সকেটে পাঠাতে ব্যর্থ" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "netlink সকেটে পাঠাতে ব্যর্থ" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 #, fuzzy msgid "no valid netlink response was received" msgstr "netlink প্রত্যুত্তরের ত্রুটিপূর্ণ বার্তা" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "মাইগ্রেট করতে বিফল" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "এই প্ল্যাটফর্মের মধ্যে CPU অ্যাফিনিটি সমর্থন করা হয় না" #: src/util/pci.c:624 diff --git a/po/bs.po b/po/bs.po index 6a89108..af49f13 100644 --- a/po/bs.po +++ b/po/bs.po @@ -16238,39 +16238,39 @@ msgstr "Čitanje priključka %d nije uspjelo\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "uspostavljanje veze sa Xen Store nije uspjelo" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operacija nije uspjela" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "nema podrške za hypervisor" #: src/util/pci.c:624 diff --git a/po/ca.po b/po/ca.po index 037452f..15b9f31 100644 --- a/po/ca.po +++ b/po/ca.po @@ -16546,41 +16546,41 @@ msgstr "No s'ha pogut crear el conducte: %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "no es pot assignar la llista de mecanismes" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "No s'ha pogut desar el domini %s a %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "No s'ha pogut desar el domini %s a %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "ha fallat l'operació" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "l'hipervisor no disposa d'aquesta funció" #: src/util/pci.c:624 diff --git a/po/cs.po b/po/cs.po index 412bf44..8258251 100644 --- a/po/cs.po +++ b/po/cs.po @@ -15976,39 +15976,39 @@ msgstr "Selhalo vytvoření 'pipe': %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "nepodařilo se alokovat paměť pro řetězec" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Selhalo připojení ke klientskému socketu" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "epoll_create(2) selhalo" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/cy.po b/po/cy.po index 7a25fe3..9507db1 100644 --- a/po/cy.po +++ b/po/cy.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/da.po b/po/da.po index b4879df..c6ae600 100644 --- a/po/da.po +++ b/po/da.po @@ -16251,39 +16251,39 @@ msgstr "Kunne ikke læse fra sokkel %d\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "kunne ikke forbinde til Xen Store" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation mislykkedes" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "ingen understøttelse for hypervisor" #: src/util/pci.c:624 diff --git a/po/de.po b/po/de.po index df946a8..16e88bc 100644 --- a/po/de.po +++ b/po/de.po @@ -15618,36 +15618,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/el.po b/po/el.po index 539f731..2e335e9 100644 --- a/po/el.po +++ b/po/el.po @@ -15731,36 +15731,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/en_GB.po b/po/en_GB.po index 5e67bb4..47f3295 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -16246,39 +16246,39 @@ msgstr "Failed to read socket %d\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "failed to connect to Xen Store" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "no support for hypervisor" #: src/util/pci.c:624 diff --git a/po/es.po b/po/es.po index 5047a96..1f30b36 100644 --- a/po/es.po +++ b/po/es.po @@ -16080,36 +16080,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "No existe disponible una implementación para analizador JSON" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "no es posible enviar hacia el socket netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "error en la llamada select" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "no se ha recibido ninguna respuesta netlink válida" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 @@ -16868,7 +16868,7 @@ msgstr "error analizando la parte IFLA_VF_PORT" #: src/util/virnetdevvportprofile.c:354 msgid "Could not find netlink response with expected parameters" -msgstr "No es posible hallar respuesta netlink con los parámetros esperados" +msgstr "No es posible hallar respuesta virnetlink.con los parámetros esperados" #: src/util/virnetdevvportprofile.c:359 msgid "IFLA_VF_PORTS is missing" diff --git a/po/et.po b/po/et.po index 7a25fe3..9507db1 100644 --- a/po/et.po +++ b/po/et.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/eu_ES.po b/po/eu_ES.po index 7a25fe3..9507db1 100644 --- a/po/eu_ES.po +++ b/po/eu_ES.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/fa.po b/po/fa.po index 7a25fe3..9507db1 100644 --- a/po/fa.po +++ b/po/fa.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/fi.po b/po/fi.po index d0a0d25..5e3e0a8 100644 --- a/po/fi.po +++ b/po/fi.po @@ -16269,39 +16269,39 @@ msgstr "XML:n luonti epäonnistui" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "yhteydenotto Xen Storeen ei onnistunut" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "toimenpide epäonnistui" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "konsolia ei ole toteutettu tällä alustalla" #: src/util/pci.c:624 diff --git a/po/fr.po b/po/fr.po index 7781c33..e82e784 100644 --- a/po/fr.po +++ b/po/fr.po @@ -15602,36 +15602,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/gl.po b/po/gl.po index 7a25fe3..9507db1 100644 --- a/po/gl.po +++ b/po/gl.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/gu.po b/po/gu.po index c24023c..5ce9562 100644 --- a/po/gu.po +++ b/po/gu.po @@ -15863,37 +15863,37 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "JSON પાર્સર અમલીકરણ ઉપલબ્ધ છે" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "નેટલીંક સોકેટને મોકલી શકાતુ નથી" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "પ્રક્રિયા CPU સંબંધ એ આ પ્લેટફોર્મ પર આધારભૂત નથી" #: src/util/pci.c:624 diff --git a/po/he.po b/po/he.po index 7a25fe3..9507db1 100644 --- a/po/he.po +++ b/po/he.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/hi.po b/po/hi.po index 1329e13..a0d796b 100644 --- a/po/hi.po +++ b/po/hi.po @@ -16405,41 +16405,41 @@ msgstr "पाइप बनाने में विफल" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "मेकलिस्ट आबंटित नहीं कर सकता है" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "सॉकेट खोल नहीं सकता है" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "सॉकेट खोल नहीं सकता है" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "उत्प्रवास विफल" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "cpu लगाव समर्थित नहीं है" #: src/util/pci.c:624 diff --git a/po/hr.po b/po/hr.po index 6b529cc..509aadf 100644 --- a/po/hr.po +++ b/po/hr.po @@ -16251,39 +16251,39 @@ msgstr "Izrada XML nije uspjela" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "uspostavljanje veze sa Xen Store nije uspjelo" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operacija nije uspjela" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "Hipervizor ne nudi podršku za ovu funkciju" #: src/util/pci.c:624 diff --git a/po/hu.po b/po/hu.po index 3bafc47..d9e1e65 100644 --- a/po/hu.po +++ b/po/hu.po @@ -16251,39 +16251,39 @@ msgstr "%d aljazat olvasása nem sikerült\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "nem sikerült csatlakozni a Xen-tárolóhoz" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "művelet nem sikerült" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "nincs támogatás a felügyelőhöz" #: src/util/pci.c:624 diff --git a/po/hy.po b/po/hy.po index 7a25fe3..9507db1 100644 --- a/po/hy.po +++ b/po/hy.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/id.po b/po/id.po index 8a4b306..9b091f0 100644 --- a/po/id.po +++ b/po/id.po @@ -15579,36 +15579,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/is.po b/po/is.po index 7a25fe3..9507db1 100644 --- a/po/is.po +++ b/po/is.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/it.po b/po/it.po index e1dd69c..3c06b15 100644 --- a/po/it.po +++ b/po/it.po @@ -16565,41 +16565,41 @@ msgstr "Impossibile creare la pipe" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "impossibile allocare elenco mech" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "impossibile aprire il socket" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "impossibile aprire il socket" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "migrazione fallita: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "affinità cpu non supportata" #: src/util/pci.c:624 diff --git a/po/ja.po b/po/ja.po index 1a4fa74..0ecb766 100644 --- a/po/ja.po +++ b/po/ja.po @@ -15848,37 +15848,37 @@ msgstr "JSON フォーマッターを作成できません" msgid "No JSON parser implementation is available" msgstr "JSON パーサーが利用できません" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "nl_recv が失敗しました" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" -msgstr "libnl が利用できないため nlComm はサポートされません" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" +msgstr "libnl が利用できないため virNetlinkCommand はサポートされません" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" -msgstr "nlComm は Linux 以外のプラットフォームにおいてサポートされません" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" +msgstr "virNetlinkCommand は Linux 以外のプラットフォームにおいてサポートされません" #: src/util/pci.c:624 #, c-format diff --git a/po/ka.po b/po/ka.po index 7a25fe3..9507db1 100644 --- a/po/ka.po +++ b/po/ka.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/kn.po b/po/kn.po index 0858eef..f3020a5 100644 --- a/po/kn.po +++ b/po/kn.po @@ -16407,41 +16407,41 @@ msgstr "ಪೈಪ್ ಅನ್ನು ನಿರ್ಮಿಸುವಲ್ಲಿ ವ msgid "No JSON parser implementation is available" msgstr "ಯಾವುದೆ JSON ಪಾರ್ಸರ್ ಅನ್ವಯಿಸುವಿಕೆಯು ಲಭ್ಯವಿಲ್ಲ" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlist ಅನ್ನು ನಿಯೋಜಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "ನೆಟ್ಲಿಂಕ್ ಸಾಕೆಟ್ ಅನ್ನು ಕಳುಹಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "ನೆಟ್ಲಿಂಕ್ ಸಾಕೆಟ್ ಅನ್ನು ಕಳುಹಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 #, fuzzy msgid "no valid netlink response was received" msgstr "ನೆಟ್ಲಿಂಕ್ ಪ್ರತ್ಯುತ್ತರ ಸಂದೇಶವು ಸರಿಯಾಗಿಲ್ಲ" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "ವರ್ಗಾವಣೆಯು ವಿಫಲಗೊಂಡಿದೆ" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "ಈ ಪ್ಲಾಟ್ಫಾರ್ಮಿನಲ್ಲಿ cpu ಸಂಬಂಧಕ್ಕೆ ಬೆಂಬಲವಿಲ್ಲ" #: src/util/pci.c:624 diff --git a/po/ko.po b/po/ko.po index 28efb49..37ca9bd 100644 --- a/po/ko.po +++ b/po/ko.po @@ -16329,41 +16329,41 @@ msgstr "파이프를 생성할 수 없" msgid "No JSON parser implementation is available" msgstr "구현된 JSON 구문분석기가 없습니다" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlist를 할당할 수 없습니다" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "넷링크 소켓에 송신할 수 없습니다" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "넷링크 소켓에 송신할 수 없습니다" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 #, fuzzy msgid "no valid netlink response was received" msgstr "잘못된 형식의 넷링크 응답 메시지" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "이전이 실패했습니다" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "CPU 친화도 처리가 이 플랫폼에서는 지원되지 않습니다" #: src/util/pci.c:624 diff --git a/po/ku.po b/po/ku.po index 7a25fe3..9507db1 100644 --- a/po/ku.po +++ b/po/ku.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/libvirt.pot b/po/libvirt.pot index 8349f10..d44379a 100644 --- a/po/libvirt.pot +++ b/po/libvirt.pot @@ -15600,11 +15600,11 @@ msgid "nl_recv failed" msgstr "" #: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" #: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/lo.po b/po/lo.po index 7a25fe3..9507db1 100644 --- a/po/lo.po +++ b/po/lo.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/lt.po b/po/lt.po index 7a25fe3..9507db1 100644 --- a/po/lt.po +++ b/po/lt.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/lv.po b/po/lv.po index 7a25fe3..9507db1 100644 --- a/po/lv.po +++ b/po/lv.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/mk.po b/po/mk.po index 334bebd..5c387fb 100644 --- a/po/mk.po +++ b/po/mk.po @@ -16259,39 +16259,39 @@ msgstr "Не успеав да креирам XML" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "не успеав да се поврзам со Xen Store" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "операцијата не успеа" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "оваа функција не е поддржана од хипервизорот" #: src/util/pci.c:624 diff --git a/po/ml.po b/po/ml.po index d8a5c39..ef262e2 100644 --- a/po/ml.po +++ b/po/ml.po @@ -16365,41 +16365,41 @@ msgstr "പൈപ്പ് ഉണ്ടാക്കുന്നതില് msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "cannot allocate mechlist" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "സോക്കറ്റ് തുറക്കുവാന് സാധ്യമല്ല" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "സോക്കറ്റ് തുറക്കുവാന് സാധ്യമല്ല" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "migrate failed" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "cpu അഫിനിറ്റി പിന്തുണയ്ക്കുന്നില്ല" #: src/util/pci.c:624 diff --git a/po/mr.po b/po/mr.po index 8a6a1a7..11e2177 100644 --- a/po/mr.po +++ b/po/mr.po @@ -16318,41 +16318,41 @@ msgstr "पाइप निर्माण करण्यास अपयशी msgid "No JSON parser implementation is available" msgstr "JSON पार्सर लागूकरण उपलब्ध नाही" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "कार्यपद्धती यादीचे वाटप करणे अशक्य" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "netlink सॉकेट पाठवणे अशक्य" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "netlink सॉकेट पाठवणे अशक्य" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 #, fuzzy msgid "no valid netlink response was received" msgstr "सदोषीत netlink प्रतिसाद संदेश" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "स्थानांतरन अपयशी" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "या प्लॅटफार्मवरील CPU एफिनीटी समर्थीत नाही" #: src/util/pci.c:624 diff --git a/po/ms.po b/po/ms.po index d2bf56c..11c6e17 100644 --- a/po/ms.po +++ b/po/ms.po @@ -16256,39 +16256,39 @@ msgstr "Gagal mencipta direktori %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Tidak dapat menyambung ke RHN..." -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "Operasi antaramuka HTTP gagal\n" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "Antaramuka untuk sokongan kebolehcapaian." #: src/util/pci.c:624 diff --git a/po/my.po b/po/my.po index 7a25fe3..9507db1 100644 --- a/po/my.po +++ b/po/my.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/nb.po b/po/nb.po index 69d5c64..d084041 100644 --- a/po/nb.po +++ b/po/nb.po @@ -16184,39 +16184,39 @@ msgstr "Kunne ikke opprette domenet fra %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Kunne ikke definere domenet fra %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operasjon feilet" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "denne funksjonen er ikke støttet av hypervisor" #: src/util/pci.c:624 diff --git a/po/nl.po b/po/nl.po index fdc52ea..a3d991c 100644 --- a/po/nl.po +++ b/po/nl.po @@ -15777,36 +15777,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "JSON parser implementatie is niet beschikbaar" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "kan niet naar netlink socket versturen" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "fout in select aanroep" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "er werd geen geldig netlink antwoord ontvangen" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/nn.po b/po/nn.po index 7a25fe3..9507db1 100644 --- a/po/nn.po +++ b/po/nn.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/nso.po b/po/nso.po index 7a25fe3..9507db1 100644 --- a/po/nso.po +++ b/po/nso.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/or.po b/po/or.po index 6c5fa73..554732b 100644 --- a/po/or.po +++ b/po/or.po @@ -15867,37 +15867,37 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "କୌଣସି JSON ବିଶ୍ଳେଷକ କାର୍ଯ୍ୟକାରୀତା ଉପଲବ୍ଧ ନାହିଁ" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "ନେଟଲିଙ୍କ ସକେଟକୁ ପଠାଇ ପାରିବେ ନାହିଁ" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "ପଦ୍ଧତି CPU ସାଦୃଶ୍ୟ ଏହି ପ୍ଲାଟଫର୍ମରେ ସମର୍ଥିତ ନୁହଁ" #: src/util/pci.c:624 diff --git a/po/pa.po b/po/pa.po index efd78d2..4fe89b6 100644 --- a/po/pa.po +++ b/po/pa.po @@ -15636,36 +15636,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "ਕੋਈ JSON ਪਾਰਸਰ ਸਥਾਪਨ ਉਪਲੱਬਧ ਨਹੀਂ ਹੈ" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "netlink ਸਾਕਟ ਨੂੰ ਭੇਜ ਨਹੀਂ ਸਕਦਾ ਹੈ" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "ਚੁਣੀ ਕਾਲ ਵਿੱਚ ਗਲਤੀ ਹੈ" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/pl.po b/po/pl.po index d7123df..5febf94 100644 --- a/po/pl.po +++ b/po/pl.po @@ -15913,36 +15913,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "Brak dostępnej implementacji parsera JSON" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "nie można przydzielić nlhandle dla netlink" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "nie można połączyć się z gniazdem netlink" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "nie można wysłać do gniazda netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "błąd w wybranych wywołaniu" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "nie otrzymano prawidłowej odpowiedzi netlink" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "nl_recv nie powiodło się" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/pt.po b/po/pt.po index 8110fc8..49f58cb 100644 --- a/po/pt.po +++ b/po/pt.po @@ -16255,39 +16255,39 @@ msgstr "Não foi possível criar o XML" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "não foi possível ligar ao Armazém do Xen" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "a operação falhou" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "a consola não está implementada nesta plataforma" #: src/util/pci.c:624 diff --git a/po/pt_BR.po b/po/pt_BR.po index 0d2bed1..77354aa 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -16580,41 +16580,41 @@ msgstr "Falha ao criar pipe" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "não foi possível alocar a mechlist" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "não foi possível abrir o socket" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "não foi possível abrir o socket" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "falha ao migrar: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "não há suporte para afinidade de cpu" #: src/util/pci.c:624 diff --git a/po/ro.po b/po/ro.po index 7a25fe3..9507db1 100644 --- a/po/ro.po +++ b/po/ro.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/ru.po b/po/ru.po index 2f3adbe..854601c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -15659,36 +15659,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "Нет доступных реализаций для разбора JSON" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "не удалось отправить в сокет netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/si.po b/po/si.po index 7a25fe3..9507db1 100644 --- a/po/si.po +++ b/po/si.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/sk.po b/po/sk.po index 7a25fe3..9507db1 100644 --- a/po/sk.po +++ b/po/sk.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/sl.po b/po/sl.po index 7a25fe3..9507db1 100644 --- a/po/sl.po +++ b/po/sl.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/sq.po b/po/sq.po index 7a25fe3..9507db1 100644 --- a/po/sq.po +++ b/po/sq.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/sr.po b/po/sr.po index 5a0b07e..9fa57a9 100644 --- a/po/sr.po +++ b/po/sr.po @@ -16501,41 +16501,41 @@ msgstr "Неуспело прављење цеви: %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "не могу да доделим mechlist" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "не могу да сачувам језгро домена" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "не могу да сачувам језгро домена" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "операција преласка није успела" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "ai_family није подржана" #: src/util/pci.c:624 diff --git a/po/sr@latin.po b/po/sr@latin.po index b27fedf..c0d8b55 100644 --- a/po/sr@latin.po +++ b/po/sr@latin.po @@ -16519,41 +16519,41 @@ msgstr "Neuspelo pravljenje cevi: %s" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "ne mogu da dodelim mechlist" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "ne mogu da sačuvam jezgro domena" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "ne mogu da sačuvam jezgro domena" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operacija prelaska nije uspela" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "ai_family nije podržana" #: src/util/pci.c:624 diff --git a/po/sv.po b/po/sv.po index 5ef7479..bfdc080 100644 --- a/po/sv.po +++ b/po/sv.po @@ -15647,36 +15647,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/ta.po b/po/ta.po index ed55754..b6938b0 100644 --- a/po/ta.po +++ b/po/ta.po @@ -16356,41 +16356,41 @@ msgstr "பைப்யை உருவாக்க முடியவில் msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlistஐ ஒதுக்க முடியவில்லை" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "சாக்கெட்டை திறக்க முடியவில்லை" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "சாக்கெட்டை திறக்க முடியவில்லை" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "இடமாற்ற முடியவில்லை" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "cpu affinity துணைபுரியவில்லை" #: src/util/pci.c:624 diff --git a/po/te.po b/po/te.po index 72b5277..826f584 100644 --- a/po/te.po +++ b/po/te.po @@ -16305,41 +16305,41 @@ msgstr "pipe ను సృష్టించ లేక పోతోంది" msgid "No JSON parser implementation is available" msgstr "ఎటువంటి JSON పార్శర్ అభివృద్ది అందుబాటులో లేదు" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "mechlistను కేటాయించలేదు" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "నెట్లింక్ సాకెట్నకు పంపలేదు" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "నెట్లింక్ సాకెట్నకు పంపలేదు" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 #, fuzzy msgid "no valid netlink response was received" msgstr "తప్పుగారూపొందించిన నెట్లింక్ ప్రతిస్పందన సందేశము" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "మైగ్రేషన్ విఫలమైంది" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "CPU ఎఫినిటి ప్రోసెస్ ఈ ప్లాట్ఫాంపై మద్దతించబడదు" #: src/util/pci.c:624 diff --git a/po/th.po b/po/th.po index 7a25fe3..9507db1 100644 --- a/po/th.po +++ b/po/th.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/tr.po b/po/tr.po index 7a25fe3..9507db1 100644 --- a/po/tr.po +++ b/po/tr.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/uk.po b/po/uk.po index 98c53c0..56bbc53 100644 --- a/po/uk.po +++ b/po/uk.po @@ -16314,37 +16314,37 @@ msgstr "Не вдалося створити інструмент формату msgid "No JSON parser implementation is available" msgstr "Реалізація обробника JSON недоступна" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "не вдалося розмістити nlhandle для netlink" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "не вдалося встановити з’єднання з сокетом netlink" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "не вдалося надіслати дані до сокета netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "помилка у виклику select" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "не було отримано жодної коректної відповіді netlink" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "помилка nl_recv" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" -msgstr "Підтримки nlComm немає, оскільки недоступна бібліотека libnl" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" +msgstr "Підтримки virNetlinkCommand немає, оскільки недоступна бібліотека libnl" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" -msgstr "Підтримки nlComm на платформах, відмінних від Linux, не передбачено" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" +msgstr "Підтримки virNetlinkCommand на платформах, відмінних від Linux, не передбачено" #: src/util/pci.c:624 #, c-format diff --git a/po/ur.po b/po/ur.po index 7a25fe3..9507db1 100644 --- a/po/ur.po +++ b/po/ur.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/po/vi.po b/po/vi.po index 4038011..d831dba 100644 --- a/po/vi.po +++ b/po/vi.po @@ -15870,36 +15870,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "Không có sự thi hành bộ phân tích JSON có sẵn" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "không thể gửi socket netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "lỗi khi chọn cuộc gọi" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "không có phản hồi netlink hợp lệ được nhận" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/vi_VN.po b/po/vi_VN.po index 8a20f9c..0a81318 100644 --- a/po/vi_VN.po +++ b/po/vi_VN.po @@ -15686,36 +15686,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "Không có sự thi hành bộ phân tích JSON có sẵn" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "không thể gửi socket netlink" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "lỗi khi chọn cuộc gọi" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "không có phản hồi netlink hợp lệ được nhận" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/zh_CN.po b/po/zh_CN.po index d13d0fd..66bbea2 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -15582,36 +15582,36 @@ msgstr "" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 msgid "cannot connect to netlink socket" msgstr "" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 msgid "nl_recv failed" msgstr "" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 -msgid "nlComm is not supported on non-linux platforms" +#: src/util/virnetlink.c:149 +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "" #: src/util/pci.c:624 diff --git a/po/zh_TW.po b/po/zh_TW.po index 39c0fa2..eb8a4d7 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -16248,39 +16248,39 @@ msgstr "無法讀取插槽 %d\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 msgid "cannot allocate nlhandle for netlink" msgstr "" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "無法連上 Xen Store" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 msgid "cannot send to netlink socket" msgstr "" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "操作失敗" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "不支援 hypervisor" #: src/util/pci.c:624 diff --git a/po/zu.po b/po/zu.po index 7a25fe3..9507db1 100644 --- a/po/zu.po +++ b/po/zu.po @@ -16510,41 +16510,41 @@ msgstr "Failed to create domain %s\n" msgid "No JSON parser implementation is available" msgstr "" -#: src/util/netlink.c:81 +#: src/util/virnetlink.c:81 #, fuzzy msgid "cannot allocate nlhandle for netlink" msgstr "allocate response" -#: src/util/netlink.c:87 +#: src/util/virnetlink.c:87 #, fuzzy msgid "cannot connect to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:99 +#: src/util/virnetlink.c:99 #, fuzzy msgid "cannot send to netlink socket" msgstr "Failed to suspend domain %s" -#: src/util/netlink.c:113 +#: src/util/virnetlink.c:113 msgid "error in select call" msgstr "" -#: src/util/netlink.c:116 +#: src/util/virnetlink.c:116 msgid "no valid netlink response was received" msgstr "" -#: src/util/netlink.c:124 +#: src/util/virnetlink.c:124 #, fuzzy msgid "nl_recv failed" msgstr "operation failed: %s" -#: src/util/netlink.c:147 -msgid "nlComm is not supported since libnl was not available" +#: src/util/virnetlink.c:147 +msgid "virNetlinkCommand is not supported since libnl was not available" msgstr "" -#: src/util/netlink.c:149 +#: src/util/virnetlink.c:149 #, fuzzy -msgid "nlComm is not supported on non-linux platforms" +msgid "virNetlinkCommand is not supported on non-linux platforms" msgstr "library call failed, possibly not supported" #: src/util/pci.c:624 diff --git a/src/Makefile.am b/src/Makefile.am index dd77eec..4674147 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -67,7 +67,7 @@ UTIL_SOURCES = \ util/json.c util/json.h \ util/logging.c util/logging.h \ util/memory.c util/memory.h \ - util/netlink.c util/netlink.h \ + util/virnetlink.c util/virnetlink.h \ util/pci.c util/pci.h \ util/processinfo.c util/processinfo.h \ util/hostusb.c util/hostusb.h \ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index e300f06..a1aa27e 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -734,8 +734,8 @@ virResizeN; virShrinkN; -#netlink.h -nlComm; +#virnetlink.h +virNetlinkCommand; # netdev_bandwidth_conf.h diff --git a/src/util/netlink.c b/src/util/netlink.c deleted file mode 100644 index 0672184..0000000 --- a/src/util/netlink.c +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright (C) 2010-2011 Red Hat, Inc. - * Copyright (C) 2010 IBM Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Authors: - * Stefan Berger <stefanb@us.ibm.com> - * - * Notes: - * netlink: http://lovezutto.googlepages.com/netlink.pdf - * iproute2 package - * - */ - -#include <config.h> - -#include <errno.h> -#include <unistd.h> -#include <sys/types.h> - -#include "netlink.h" -#include "memory.h" -#include "virterror_internal.h" - -#define VIR_FROM_THIS VIR_FROM_NET - -#define netlinkError(code, ...) \ - virReportErrorHelper(VIR_FROM_NET, code, __FILE__, \ - __FUNCTION__, __LINE__, __VA_ARGS__) - -#define NETLINK_ACK_TIMEOUT_S 2 - -/** - * nlComm: - * @nlmsg: pointer to netlink message - * @respbuf: pointer to pointer where response buffer will be allocated - * @respbuflen: pointer to integer holding the size of the response buffer - * on return of the function. - * @nl_pid: the pid of the process to talk to, i.e., pid = 0 for kernel - * - * Send the given message to the netlink layer and receive response. - * Returns 0 on success, -1 on error. In case of error, no response - * buffer will be returned. - */ -#if defined(__linux__) && defined(HAVE_LIBNL) -int nlComm(struct nl_msg *nl_msg, - unsigned char **respbuf, unsigned int *respbuflen, - int nl_pid) -{ - int rc = 0; - struct sockaddr_nl nladdr = { - .nl_family = AF_NETLINK, - .nl_pid = nl_pid, - .nl_groups = 0, - }; - ssize_t nbytes; - struct timeval tv = { - .tv_sec = NETLINK_ACK_TIMEOUT_S, - }; - fd_set readfds; - int fd; - int n; - struct nlmsghdr *nlmsg = nlmsg_hdr(nl_msg); - struct nl_handle *nlhandle = nl_handle_alloc(); - - if (!nlhandle) { - virReportSystemError(errno, - "%s", _("cannot allocate nlhandle for netlink")); - return -1; - } - - if (nl_connect(nlhandle, NETLINK_ROUTE) < 0) { - virReportSystemError(errno, - "%s", _("cannot connect to netlink socket")); - rc = -1; - goto err_exit; - } - - nlmsg_set_dst(nl_msg, &nladdr); - - nlmsg->nlmsg_pid = getpid(); - - nbytes = nl_send_auto_complete(nlhandle, nl_msg); - if (nbytes < 0) { - virReportSystemError(errno, - "%s", _("cannot send to netlink socket")); - rc = -1; - goto err_exit; - } - - fd = nl_socket_get_fd(nlhandle); - - FD_ZERO(&readfds); - FD_SET(fd, &readfds); - - n = select(fd + 1, &readfds, NULL, NULL, &tv); - if (n <= 0) { - if (n < 0) - virReportSystemError(errno, "%s", - _("error in select call")); - if (n == 0) - virReportSystemError(ETIMEDOUT, "%s", - _("no valid netlink response was received")); - rc = -1; - goto err_exit; - } - - *respbuflen = nl_recv(nlhandle, &nladdr, respbuf, NULL); - if (*respbuflen <= 0) { - virReportSystemError(errno, - "%s", _("nl_recv failed")); - rc = -1; - } -err_exit: - if (rc == -1) { - VIR_FREE(*respbuf); - *respbuf = NULL; - *respbuflen = 0; - } - - nl_handle_destroy(nlhandle); - return rc; -} - -#else - -int nlComm(struct nl_msg *nl_msg ATTRIBUTE_UNUSED, - unsigned char **respbuf ATTRIBUTE_UNUSED, - unsigned int *respbuflen ATTRIBUTE_UNUSED, - int nl_pid ATTRIBUTE_UNUSED) -{ - netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", -# if defined(__linux__) && !defined(HAVE_LIBNL) - _("nlComm is not supported since libnl was not available")); -# else - _("nlComm is not supported on non-linux platforms")); -# endif - return -1; -} - -#endif /* __linux__ */ diff --git a/src/util/netlink.h b/src/util/netlink.h deleted file mode 100644 index 6e915ff..0000000 --- a/src/util/netlink.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2010-2011 Red Hat, Inc. - * Copyright (C) 2010 IBM Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __VIR_NETLINK_H__ -# define __VIR_NETLINK_H__ - -# include "config.h" - -# if defined(__linux__) && defined(HAVE_LIBNL) - -# include <netlink/msg.h> - -# else - -struct nl_msg; - -# endif /* __linux__ */ - -int nlComm(struct nl_msg *nl_msg, - unsigned char **respbuf, unsigned int *respbuflen, - int nl_pid); - -#endif /* __VIR_NETLINK_H__ */ diff --git a/src/util/virnetdevmacvlan.c b/src/util/virnetdevmacvlan.c index 1d64b73..25d0846 100644 --- a/src/util/virnetdevmacvlan.c +++ b/src/util/virnetdevmacvlan.c @@ -66,7 +66,7 @@ VIR_ENUM_IMPL(virNetDevMacVLanMode, VIR_NETDEV_MACVLAN_MODE_LAST, # include "logging.h" # include "uuid.h" # include "virfile.h" -# include "netlink.h" +# include "virnetlink.h" # include "virnetdev.h" # define MACVTAP_NAME_PREFIX "macvtap" @@ -153,7 +153,7 @@ virNetDevMacVLanCreate(const char *ifname, nla_nest_end(nl_msg, linkinfo); - if (nlComm(nl_msg, &recvbuf, &recvbuflen, 0) < 0) { + if (virNetlinkCommand(nl_msg, &recvbuf, &recvbuflen, 0) < 0) { rc = -1; goto cleanup; } @@ -249,7 +249,7 @@ int virNetDevMacVLanDelete(const char *ifname) if (nla_put(nl_msg, IFLA_IFNAME, strlen(ifname)+1, ifname) < 0) goto buffer_too_small; - if (nlComm(nl_msg, &recvbuf, &recvbuflen, 0) < 0) { + if (virNetlinkCommand(nl_msg, &recvbuf, &recvbuflen, 0) < 0) { rc = -1; goto cleanup; } diff --git a/src/util/virnetdevvportprofile.c b/src/util/virnetdevvportprofile.c index 46f2a24..faadc3a 100644 --- a/src/util/virnetdevvportprofile.c +++ b/src/util/virnetdevvportprofile.c @@ -55,7 +55,7 @@ VIR_ENUM_IMPL(virNetDevVPortProfileOp, VIR_NETDEV_VPORT_PROFILE_OP_LAST, # include <linux/if.h> # include <linux/if_tun.h> -# include "netlink.h" +# include "virnetlink.h" # include "virfile.h" # include "memory.h" # include "logging.h" @@ -224,7 +224,7 @@ virNetDevVPortProfileLinkDump(const char *ifname, int ifindex, bool nltarget_ker } } - if (nlComm(nl_msg, recvbuf, &recvbuflen, pid) < 0) { + if (virNetlinkCommand(nl_msg, recvbuf, &recvbuflen, pid) < 0) { rc = -1; goto cleanup; } @@ -517,7 +517,7 @@ virNetDevVPortProfileOpSetLink(const char *ifname, int ifindex, goto err_exit; } - if (nlComm(nl_msg, &recvbuf, &recvbuflen, pid) < 0) + if (virNetlinkCommand(nl_msg, &recvbuf, &recvbuflen, pid) < 0) goto err_exit; if (recvbuflen < NLMSG_LENGTH(0) || recvbuf == NULL) diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c new file mode 100644 index 0000000..d03d171 --- /dev/null +++ b/src/util/virnetlink.c @@ -0,0 +1,157 @@ +/* + * Copyright (C) 2010-2011 Red Hat, Inc. + * Copyright (C) 2010-2012 IBM Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: + * Stefan Berger <stefanb@us.ibm.com> + * Dirk Herrendoerfer <herrend[at]de[dot]ibm[dot]com> + * + * Notes: + * netlink: http://lovezutto.googlepages.com/netlink.pdf + * iproute2 package + * + * 2012/02: Renamed from netlink.[ch] to virnetlink.[ch] + * + */ + +#include <config.h> + +#include <errno.h> +#include <unistd.h> +#include <sys/types.h> + +#include "virnetlink.h" +#include "memory.h" +#include "virterror_internal.h" + +#define VIR_FROM_THIS VIR_FROM_NET + +#define netlinkError(code, ...) \ + virReportErrorHelper(VIR_FROM_NET, code, __FILE__, \ + __FUNCTION__, __LINE__, __VA_ARGS__) + +#define NETLINK_ACK_TIMEOUT_S 2 + +/** + * virNetlinkCommand: + * @nlmsg: pointer to netlink message + * @respbuf: pointer to pointer where response buffer will be allocated + * @respbuflen: pointer to integer holding the size of the response buffer + * on return of the function. + * @nl_pid: the pid of the process to talk to, i.e., pid = 0 for kernel + * + * Send the given message to the netlink layer and receive response. + * Returns 0 on success, -1 on error. In case of error, no response + * buffer will be returned. + */ +#if defined(__linux__) && defined(HAVE_LIBNL) +int virNetlinkCommand(struct nl_msg *nl_msg, + unsigned char **respbuf, unsigned int *respbuflen, + int nl_pid) +{ + int rc = 0; + struct sockaddr_nl nladdr = { + .nl_family = AF_NETLINK, + .nl_pid = nl_pid, + .nl_groups = 0, + }; + ssize_t nbytes; + struct timeval tv = { + .tv_sec = NETLINK_ACK_TIMEOUT_S, + }; + fd_set readfds; + int fd; + int n; + struct nlmsghdr *nlmsg = nlmsg_hdr(nl_msg); + struct nl_handle *nlhandle = nl_handle_alloc(); + + if (!nlhandle) { + virReportSystemError(errno, + "%s", _("cannot allocate nlhandle for netlink")); + return -1; + } + + if (nl_connect(nlhandle, NETLINK_ROUTE) < 0) { + virReportSystemError(errno, + "%s", _("cannot connect to netlink socket")); + rc = -1; + goto err_exit; + } + + nlmsg_set_dst(nl_msg, &nladdr); + + nlmsg->nlmsg_pid = getpid(); + + nbytes = nl_send_auto_complete(nlhandle, nl_msg); + if (nbytes < 0) { + virReportSystemError(errno, + "%s", _("cannot send to netlink socket")); + rc = -1; + goto err_exit; + } + + fd = nl_socket_get_fd(nlhandle); + + FD_ZERO(&readfds); + FD_SET(fd, &readfds); + + n = select(fd + 1, &readfds, NULL, NULL, &tv); + if (n <= 0) { + if (n < 0) + virReportSystemError(errno, "%s", + _("error in select call")); + if (n == 0) + virReportSystemError(ETIMEDOUT, "%s", + _("no valid netlink response was received")); + rc = -1; + goto err_exit; + } + + *respbuflen = nl_recv(nlhandle, &nladdr, respbuf, NULL); + if (*respbuflen <= 0) { + virReportSystemError(errno, + "%s", _("nl_recv failed")); + rc = -1; + } +err_exit: + if (rc == -1) { + VIR_FREE(*respbuf); + *respbuf = NULL; + *respbuflen = 0; + } + + nl_handle_destroy(nlhandle); + return rc; +} + +#else + +int virNetlinkCommand(struct nl_msg *nl_msg ATTRIBUTE_UNUSED, + unsigned char **respbuf ATTRIBUTE_UNUSED, + unsigned int *respbuflen ATTRIBUTE_UNUSED, + int nl_pid ATTRIBUTE_UNUSED) +{ + netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", +# if defined(__linux__) && !defined(HAVE_LIBNL) + _("virNetlinkCommand is not supported since libnl was not available")); +# else + _("virNetlinkCommand is not supported on non-linux platforms")); +# endif + return -1; +} + +#endif /* __linux__ */ diff --git a/src/util/virnetlink.h b/src/util/virnetlink.h new file mode 100644 index 0000000..d30c964 --- /dev/null +++ b/src/util/virnetlink.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2010-2011 Red Hat, Inc. + * Copyright (C) 2010-2012 IBM Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __VIR_VIRNETLINK_H__ +# define __VIR_VIRNETLINK_H__ + +# include "config.h" + +# if defined(__linux__) && defined(HAVE_LIBNL) + +# include <netlink/msg.h> + +# else + +struct nl_msg; + +# endif /* __linux__ */ + +int virNetlinkCommand(struct nl_msg *nl_msg, + unsigned char **respbuf, unsigned int *respbuflen, + int nl_pid); + +#endif /* __VIR_VIRNETLINK_H__ */ -- 1.7.7.5

On 02/03/2012 09:13 AM, D. Herrendoerfer wrote:
From: "D. Herrendoerfer"<d.herrendoerfer@herrendoerfer.name>
Rename the src/util/netlink files to src/util/virnetlink to better fit the naming scheme. Also rename nlComm to virNetlinkCommand.
I removed the .po file changes (those are maintained separately and shouldn't be included in normal patches), fixed a couple of whitespace and alphabetic ordering problems ACK and pushed. Thanks!
participants (2)
-
D. Herrendoerfer
-
Laine Stump