search for: libxl_util

Displaying 20 results from an estimated 21 matches for "libxl_util".

Did you mean: libxl_utils
2013 May 14
5
tools/libxl: fix compilation and link errors on NetBSD
...CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so $(LDLIBS_libxenlight) $(LDLIBS_libxenctrl) $(APPEND_LDFLAGS) libxl-save-helper: $(SAVE_HELPER_OBJS) libxenlight.so $(CC) $(LDFLAGS) -o $@ $(SAVE_HELPER_OBJS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(APPEND_LDFLAGS) diff --git a/tools/libxl/libxl_utils.c b/tools/libxl/libxl_utils.c index 35da71c..0c039b1 100644 --- a/tools/libxl/libxl_utils.c +++ b/tools/libxl/libxl_utils.c @@ -95,7 +95,7 @@ int libxl_domain_qualifier_to_domid(libxl_ctx *ctx, const char *name, { int i, rv; for (i=0; name[i]; i++) { - if (!isdigit(name[i])) { +...
2013 Apr 12
11
[PATCH v4 1/2] libxl: postpone backend name resolution
...ot include the changes to tools/libxl/libxlu_disk_l.c and tools/libxl/libxlu_disk_l.h because the diffs contain unrelated changes due to different generator versions. Changes since v3: - Add #define LIBXL_HAVE_DEVICE_BACKEND_DOMNAME in libxl.h - Create libxl_domain_qualifier_to_domid function in libxl_util.h docs/misc/xl-disk-configuration.txt | 12 ++++++ tools/libxl/libxl.c | 17 +++++++-- tools/libxl/libxl.h | 12 ++++++ tools/libxl/libxl_types.idl | 5 +++ tools/libxl/libxl_utils.c | 19 ++++++++++ tools/libxl/libxl_utils.h | 1 + to...
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
...sizeof(path), "/local/domain/0/device-model/%u/logdirty/cmd", domid); xsh = xs_daemon_open(); + if (!xsh) + xsh = xs_domain_open(); if (enable) xs_write(xsh, XBT_NULL, path, "enable", strlen("enable")); diff -r eff592364826 tools/libxl/libxl_utils.c --- a/tools/libxl/libxl_utils.c Wed Sep 01 11:23:49 2010 +0100 +++ b/tools/libxl/libxl_utils.c Thu Sep 02 14:51:46 2010 +0100 @@ -368,6 +368,8 @@ int libxl_ctx_postfork(libxl_ctx *ctx) { if (ctx->xsh) xs_daemon_destroy_postfork(ctx->xsh); ctx->xsh = xs_daemon_open(); + if...
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
...@@ ln -sf libxlutil.so.$(XLUMAJOR).$(XLUMINOR) $(DESTDIR)$(LIBDIR)/libxlutil.so.$(XLUMAJOR) ln -sf libxlutil.so.$(XLUMAJOR) $(DESTDIR)$(LIBDIR)/libxlutil.so $(INSTALL_DATA) libxlutil.a $(DESTDIR)$(LIBDIR) -$(INSTALL_DATA) libxl.h libxl_json.h _libxl_types.h _libxl_types_json.h _libxl_list.h libxl_utils.h libxl_uuid.h $(DESTDIR)$(INCLUDEDIR) +$(INSTALL_DATA) libxl.h libxl_json.h _libxl_types.h _libxl_types_json.h _libxl_list.h libxl_utils.h libxl_uuid.h libxl_event.h $(DESTDIR)$(INCLUDEDIR) $(INSTALL_DATA) bash-completion $(DESTDIR)$(BASH_COMPLETION_DIR)/xl.sh .PHONY: clean diff -r 8721...
2010 Aug 17
3
libxl build failure in latest xen
..../tools/include > -I../../tools/blktap2/control -I../../tools/blktap2/include -I../../tools/include > -Wl,-soname -Wl,libxenlight.so.1.0 -shared -o libxenlight.so.1.0.0 flexarray.o > libxl.o libxl_pci.o libxl_dom.o libxl_exec.o libxl_xshelp.o libxl_device.o > libxl_internal.o xenguest.o libxl_utils.o osdeps.o libxl_paths.o > libxl_bootloader.o libxl_blktap2.o > /usr/bin/ld: libxl_dom.o: relocation R_X86_64_PC32 against > `hvm_build_set_params'' can not be used when making a shared object; > recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > collect2:...
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello, Third version of the NUMA placement series Xen 4.2. All the comments received during v2''s review have been addressed (more details in single changelogs). The most notable changes are the following: - the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the recent patches that allows us to allocate bitmaps of different sizes; - the heuristics for deciding
2013 Sep 06
21
[PATCH v2 0/5] xl: allow for node-wise specification of vcpu pinning
...ification of vcpu pinning xl: implement and enable dryrun mode for `xl vcpu-pin' xl: test script for the cpumap parser (for vCPU pinning) docs/man/xl.cfg.pod.5 | 42 +++++-- tools/libxl/check-xl-vcpupin-parse | 229 ++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_utils.c | 22 +++ tools/libxl/libxl_utils.h | 3 tools/libxl/xl_cmdimpl.c | 198 ++++++++++++++++++++++--------- tools/libxl/xl_cmdtable.c | 2 6 files changed, 432 insertions(+), 64 deletions(-) create mode 100755 tools/libxl/check-xl-vcpupin-parse -- &...
2015 May 10
2
Bug#784880: xen-utils-4.4: xl segv when it can't rename log files
Package: xen-utils-4.4 Version: 4.4.1-9 Severity: normal # /usr/lib/xen-4.4/bin/xl create -c /etc/xen/katana Parsing config from /etc/xen/katana libxl: error: libxl_utils.c:217:logrename: failed to rotate logfile - could not rename /var/log/xen/qemu-dm-katana.log.6 to /var/log/xen/qemu-dm-katana.log.7: Permission denied Segmentation fault The above happens repeatably when I run xl on a system where renaming log files is not permitted. [4746481.560999] xl[9245]: s...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
* Introduce new variants of the logging functions which include errno values (converted using strerror) in the messages passed to the application''s logging callback. * Use the new errno-including logging functions everywhere where appropriate. In general, xc_... functions return errno values or 0; xs_... functions return 0 or -1 (or some such) setting errno. * When
2014 Apr 16
0
Bug#744930: Failed migration from 4.3 to 4.1 crashes VM on sender
...XEN administrative tools ii xen-utils-common 4.3.0-3 all Xen administrative tools - common files ii xenstore-utils 4.3.0-3+b1 amd64 Xenstore utilities for Xen Output from xl migrate: libxl: error: libxl_utils.c:393:libxl_read_exactly: file/stream truncated reading ready message from migration receiver stream Migration failed, resuming at sender. Output from crashed VM: [69204.815336] kernel BUG at /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/debian/build/source_amd64_xen/drivers/xe...
2016 Apr 05
1
Bug#820154: 4.4.1-9+deb8u4: impossible to 'lv migrate' with latest stable version
...352/1048576 95% xc: progress: Reloading memory pages: 1048810/1048576 100% migration target: Transfer complete, requesting permission to start domain. migration receiver stream contained unexpected data instead of ready message (command run was: exec ssh host01 xl migrate-receive ) libxl: error: libxl_utils.c:396:libxl_read_exactly: file/stream truncated reading GO message from migration stream migration target: Failure, destroying our copy. migration target: Cleanup OK, granting sender permission to resume. Migration failed, resuming at sender. * What outcome did you expect instead? Doing a mig...
2012 Sep 27
18
[PATCH 09/11] add iomem support to libxl
This patch adds a new option for xen config files for directly mapping hardware io memory into a vm. Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 013270d..428da21 100644 --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -496,6 +496,17 @@ is given in hexadecimal and may either a span e.g.
2013 May 14
59
HVM Migration of domU on Qemu-upstream DM causes stuck system clock with ACPI
This is problem 1 of 3 problems we are having with live migration and/or ACPI on Xen-4.3 and Xen-4.2. Any help would be appreciated. Detailed description of problem: We are using Xen-4.3-rc1 with dom0 running Ubuntu Precise and 3.5.0-23-generic kernel, and domU running Ubuntu Precise (12.04) cloud images running 3.2.0-39-virtual. We are using the xl.conf below on qemu-upstream-dm and HVM and
2011 Mar 21
9
Build problem: note: ''xtl_createlogger_stdiostream'' is defined in DSO .. so try adding it to the linker command line... libxenctrl.so.4.0: could not read symbols: Invalid operation
This is a Fedora Core 13 environment and I just noticed this as I update the xen-unstable tree: make -C libxl install make[3]: Entering directory `/home/konrad/ssd/xtt/xen-unstable/tools/libxl'' rm -f _libxl_paths.h.tmp.tmp; echo "SBINDIR=\"/usr/sbin\"" >> _libxl_paths.h.tmp.tmp; echo "BINDIR=\"/usr/bin\"" >> _libxl_paths.h.tmp.tmp;
2010 Aug 19
17
xl fails to work with some command
...: libxl_device.c:438:libxl_wait_for_device_model Device Model not ready xl: fatal error: xl_cmdimpl.c:1466, rc=-1: libxl_confirm_device_model_startup(&ctx, dm_starting) xc: error: Error when writing to state file (4c) (errno 32) (32 = Broken pipe): Internal error libxl: error: libxl_utils.c:328:libxl_write_exactly failed to write qemu signature from saved-state file: Broken pipe migration sender: libxl_domain_suspend failed (rc=32) libxl: info: libxl_exec.c:69:libxl_report_child_exitstatus migration target process [7098] exited with error status 1 Migration failed...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2010 Sep 09
2
[PATCH]: add libxl python binding
...#include <sys/time.h> +#include <fcntl.h> +#include <signal.h> +#include <sys/socket.h> +#include <sys/select.h> +#include <arpa/inet.h> +#include <xenctrl.h> +#include <ctype.h> +#include <inttypes.h> + + +#include <libxl.h> +#include <libxl_utils.h> + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + +/* Needed for Python versions earlier than 2.3. */ +#ifndef PyMODINIT_FUNC +#define PyMODINIT_FUNC DL_EXPORT(void) +#endif + +#define CLS "ctx" + +static PyObject *xl_error_obj; + +static int fixed_bytearray_set(PyObject *v,...
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...) create mode 100644 tools/libxl/libxl_usb.c diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 2984051..866960a 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -74,7 +74,7 @@ LIBXL_OBJS = flexarray.o libxl.o libxl_create.o libxl_dm.o libxl_pci.o \ libxl_internal.o libxl_utils.o libxl_uuid.o \ libxl_json.o libxl_aoutils.o libxl_numa.o \ libxl_save_callout.o _libxl_save_msgs_callout.o \ - libxl_qmp.o libxl_event.o libxl_fork.o $(LIBXL_OBJS-y) + libxl_qmp.o libxl_event.o libxl_fork.o libxl_usb.o $(LIBXL_OBJS-y) LIBXL_OBJS += _libxl_types.o libxl_flask.o _libx...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...(errno == ENOENT) { - XL_LOG(ctx, XL_LOG_ERROR, "The kernel doesn''t support PCI device reset from sysfs"); - } else { - XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "Failed to access reset path %s", reset); - } - return -1; -} diff -r 7b144fe8c528 tools/libxl/libxl_utils.c --- a/tools/libxl/libxl_utils.c Wed Aug 11 14:39:44 2010 +0100 +++ b/tools/libxl/libxl_utils.c Thu Aug 12 15:22:56 2010 +0100 @@ -54,11 +54,11 @@ char *libxl_domid_to_name(libxl_ctx *ctx return s; } -char *_libxl_domid_to_name(libxl_ctx *ctx, uint32_t domid) +char *_libxl_domid_to_name(l...
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings to libxl, to make them useful for clients such as xapi/xenopsd (from XCP). There are a number of bugfixes to the existing bindings as well. I have an experimental version of xenopsd that successfully uses the new bindings. An earlier version of the first half of the series was submitted to the last by Ian Campbell on