search for: ao_how

Displaying 11 results from an estimated 11 matches for "ao_how".

Did you mean: anyhow
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...>xsh, domid)) { + LOGE(ERROR, "xs_resume_domain failed for domain %u", domid); rc = ERROR_FAIL; } out: - GC_FREE; return rc; } +int libxl_domain_resume(libxl_ctx *ctx, uint32_t domid, int suspend_cancel, + const libxl_asyncop_how *ao_how) +{ + AO_CREATE(ctx, domid, ao_how); + int rc = libxl__domain_resume(gc, domid, suspend_cancel); + libxl__ao_complete(egc, ao, rc); + return AO_INPROGRESS; +} + /* * Preserves a domain but rewrites xenstore etc to make it unique so * that the domain can be restarted. diff -r 30bf79...
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...nup or rely on libxl_domain_{build,restore} to do - * it. - */ -int libxl_run_bootloader(libxl_ctx *ctx, - libxl_domain_build_info *info, - libxl_device_disk *disk, - uint32_t domid, - libxl_asyncop_how *ao_how); - - /* 0 means ERROR_ENOMEM, which we have logged */ - - int libxl_domain_rename(libxl_ctx *ctx, uint32_t domid, const char *old_name, const char *new_name); diff -r ac45608496cd -r cdb947baea10 tools/libxl/libxl_bootloader.c --- a/tools/libxl/libxl_bootloader.c Thu M...
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...SB devices. + */ +#define LIBXL_HAVE_USB 1 + +/* * libxl ABI compatibility * * The only guarantee which libxl makes regarding ABI compatibility @@ -735,6 +741,37 @@ int libxl_cdrom_insert(libxl_ctx *ctx, uint32_t domid, libxl_device_disk *disk, const libxl_asyncop_how *ao_how) LIBXL_EXTERNAL_CALLERS_ONLY; +/* + * USB + * + * For each device removed or added, one of these protocols is available: + * - PV (i.e., PVUSB) + * - DEVICEMODEL (i.e, qemu) + * + * PV is available for either PV or HVM domains. DEVICEMODEL is only + * available for HVM d...
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
2015 Nov 04
0
xen/libvirt freeze while attching network-device to vm´s
...y=0x7f791c00c6e0, file=file@entry=0x7f793808d512 "libxl.c", line=line@entry=4226, func=func@entry=0x7f7938090150 <__func__.20288> "libxl_device_nic_add") at libxl_event.c:2014 #12 0x00007f7938048fa6 in libxl_device_nic_add (ctx=0x7f78d8112830, domid=19, nic=0x7f792a92b6b0, ao_how=<optimized out>) at libxl.c:4226 #13 0x00007f78fe402baa in libxlDomainAttachNetDevice (driver=0x7f78d81ce940, vm=0x7f79140099c0, net=0x7f791c003610) at libxl/libxl_driver.c:3199 #14 0x00007f78fe402d12 in libxlDomainAttachDeviceLive (driver=0x7f78d81ce940, vm=0x7f79140099c0, dev=0x7f791c001350...
2013 Nov 04
17
Fwd: NetBSD xl core-dump not working... Memory fault (core dumped)
...c_core.c:860 > #1 0x00007f7ff7007fda in xc_domain_dumpcore (xch=0x7f7ff7b0d800, > domid=20, corename=0x7f7ffffffe78 "test.core") at xc_core.c:983 > #2 0x00007f7ff74117b3 in libxl_domain_core_dump (ctx=0x7f7ff7b03200, > domid=20, filename=0x7f7ffffffe78 "test.core", ao_how=<optimized out>) > at libxl.c:808 > #3 0x000000000040f748 in core_dump_domain (filename=0x7f7ffffffe78 > "test.core", domain_spec=<optimized out>) at xl_cmdimpl.c:3301 > #4 main_dump_core (argc=<optimized out>, argv=0x7f7fffffdca0) at > xl_cmdimpl.c:3642...
2012 Nov 20
0
[PATCH 15 of 15] libxl: ocaml: add bindings for libxl_domain_create_new
...trigger : domid -> trigger -> int -> unit = "stub_xl_send_trigger" external send_sysrq : domid -> char -> unit = "stub_xl_send_sysrq" external send_debug_keys : ctx -> string -> unit = "stub_xl_send_debug_keys" + +/* XXX: const libxl_asyncop_how *ao_how, const libxl_asyncprogress_how *aop_console_how */ +external domain_create_new :ctx -> Domain_config.t -> domid = "stub_xl_domain_create_new" diff -r 41f0137955f4 -r 72376896ba08 tools/ocaml/libs/xl/xenlight_stubs.c --- a/tools/ocaml/libs/xl/xenlight_stubs.c Tue Nov 20 17:22:21 2012...
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.
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