search for: dm_task_run

Displaying 5 results from an estimated 5 matches for "dm_task_run".

2020 Sep 03
0
Re: libvirt 6.7 meson.build error
...;devmapper', version: '>=' + devmapper_version, required: false) if not devmapper_dep.found() # devmapper is missing pkg-config files in ubuntu, suse, etc devmapper_dep = cc.find_library('devmapper', required: false) if devmapper_dep.found() and not cc.has_function('dm_task_run', dependencies: tmp) devmapper_dep = dependency('', required: false) endif endif it is indeed referencing a "tmp" variable that doesn't exist. What OS distro are you using ? This happens because you are missing the required version of devmapper library. Either you...
2020 Mar 30
2
"configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
.... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether rl_completion_quote_character is declared... no checking for BLKID... no checking for capng_updatev in -lcap-ng... no checking for CURL... no checking for DBUS... no checking for DEVMAPPER... no checking for dm_task_run in -ldevmapper... no checking for dlfcn.h... (cached) yes checking for library containing dlopen... -ldl checking for whether to install firewalld libvirt zone... no checking for FUSE... no checking for GLIB... yes checking for GLUSTERFS... no checking for GNUTLS... yes checking for HAL... no check...
2020 Mar 30
0
Re: "configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
...config is at least version 0.9.0... yes > checking whether rl_completion_quote_character is declared... no > checking for BLKID... no > checking for capng_updatev in -lcap-ng... no > checking for CURL... no > checking for DBUS... no > checking for DEVMAPPER... no > checking for dm_task_run in -ldevmapper... no > checking for dlfcn.h... (cached) yes > checking for library containing dlopen... -ldl > checking for whether to install firewalld libvirt zone... no > checking for FUSE... no > checking for GLIB... yes > checking for GLUSTERFS... no > checking for GNUTLS....
2018 May 15
12
[PATCH libldm 00/12] New API: an ability to retrieve created device-mapper devices back after they have been created.
The main goal of these patch series is to implement a new API that allows to retrieve created device-mapper devices for volumes and partitions back after they have been created. As part of this patch: - required libdevmapper version was bumped to 1.02. I think it is safe because it was released more then 10 years ago; - newer version of libdevmapper allowed to simplify code base a little bit; -
2006 Aug 21
1
[PATCH 3 of 6] dm-userspace internal libdmu support for userspace tool
...xt = NULL; + uint64_t start, length; + char *ttype = NULL, *params = NULL; + + task = dm_task_create(DM_DEVICE_STATUS); + + ret = dm_task_set_name(task, dm_device); + if (!ret) { + DPRINTF("Failed to set device-mapper target name\n"); + dm_task_destroy(task); + return -1; + } + + ret = dm_task_run(task); + if (!ret) { + DPRINTF("Failed to run device-mapper task\n"); + dm_task_destroy(task); + return -1; + } + + ret = 0; + do { + next = dm_get_next_target(task, next, &start, &length, + &ttype, &params); + + if (strcmp(ttype, "userspace") == 0) {...