Displaying 20 results from an estimated 74 matches for "guestfs_get_backend".
2015 Jan 20
9
[PATCH] daemon: readdir: fix invalid memory access on error
If "strdup (d->d_name)" fails with "i" > 0, then both "p" and
"ret->guestfs_int_dirent_list_val" are non-null pointers, but the latter
is no more valid (since "p" is the new realloc'ed buffer). Hence, trying
to free both will access to invalid memory.
Make sure to free only one of them, "p" if not null or
2015 Jan 20
0
[PATCH] launch: libvirt: do not leak the backend string on error
...irt.c b/src/launch-libvirt.c
index 899742f..6f95e98 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -719,6 +719,8 @@ parse_capabilities (guestfs_h *g, const char *capabilities_xml,
* appliance VM.
*/
if (!seen_qemu && !seen_kvm) {
+ CLEANUP_FREE char *backend = guestfs_get_backend (g);
+
error (g,
_("libvirt hypervisor doesn't support qemu or KVM,\n"
"so we cannot create the libguestfs appliance.\n"
@@ -730,7 +732,7 @@ parse_capabilities (guestfs_h *g, const char *capabilities_xml,
"Or: if you want to...
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
..._drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_hv
libguestfs: trace: get_hv = &...
2014 Jan 23
2
Errors Running on Ubuntu 13.10
...include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SELinux: sh: 1: getenforce: not found
library version: 1.22.4
guestfs_get_append: (null)
guestfs_get_backend: direct
guestfs_get_autosync: 1
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_qemu: /usr/bin/qemu-system-x86_64
guestfs_get_recovery_...
2014 Jan 23
3
Re: Errors Running on Ubuntu 13.10
...bug report.
>> *
>> ************************************************************
>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>> SELinux: sh: 1: getenforce: not found
>> library version: 1.22.4
>> guestfs_get_append: (null)
>> guestfs_get_backend: direct
>> guestfs_get_autosync: 1
>> guestfs_get_cachedir: /var/tmp
>> guestfs_get_direct: 0
>> guestfs_get_memsize: 500
>> guestfs_get_network: 0
>> guestfs_get_path: /usr/lib/guestfs
>> guestfs_get_pgroup: 0
>> guestfs_get_program: libguestfs-test-...
2013 Apr 02
0
ANNOUNCE: "attach-method" is now "backend"
Starting with libguestfs 1.22, "attach methods" will be known as
"backends" (one word, no space or hyphen). There are new APIs
'guestfs_set_backend', 'guestfs_get_backend', and a new environment
variable 'LIBGUESTFS_BACKEND'.
Furthermore, the default backend, running qemu directly, is now called
"direct" instead of "appliance". (Note that distros can change the
default by compiling with ./configure --with-default-backend=..., and
Fe...
2014 Dec 09
0
Re: virt-df error, help
...> * output below in your bug report.
> *
> ************************************************************
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> SELinux: sh: 1: getenforce: not found
> guestfs_get_append: (null)
> guestfs_get_autosync: 1
> guestfs_get_backend: direct
> libguestfs-test-tool: symbol lookup error: libguestfs-test-tool: undefined symbol: guestfs_get_backend_settings"
You've now got two conflicting versions of libguestfs installed.
You'll have to either reinstall the OS from scratch, or very carefully
try to work out what...
2020 Aug 24
0
Re: Running libguestfs-test-tool problem
...t; PATH=/home/zmt1002/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
> SELinux: sh: getenforce: command not found
> guestfs_get_append: (null)
> guestfs_get_autosync: 1
> guestfs_get_backend: direct
> guestfs_get_backend_settings: []
> guestfs_get_cachedir: /var/tmp
> guestfs_get_hv: /usr/bin/qemu-system-x86_64
> guestfs_get_memsize: 768
> guestfs_get_network: 0
> guestfs_get_path: /usr/lib/guestfs
> guestfs_get_pgroup: 0
> guestfs_get_program: libguestfs-test-t...
2019 Nov 02
4
supermin: failed to find a suitable kernel
..._drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_direct
libguestfs: trace: get_di...
2016 Apr 07
2
Help: Is it possible to use libguestfs in Xen guest OS
...output below in your bug report.
*
************************************************************
LIBGUESTFS_BACKEND=libvirt
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/vpxxcm/conversion
SELinux: sh: getenforce: command not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/libexec/qemu-kvm
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recov...
2017 Jul 28
2
cannot find any suitable libguestfs supermin
I download libguestfs from github and fetch to the *origin master*.
I tried to build libguestfs in my own linux distro and I followd the
http://libguestfs.org/guestfs-building.1.html#using-a-prebuilt-binary-appliance
to replace with supermin
I download the appliance-1.30.1.tar.xz and appliance-1.30.1.tar.xz.sig
and extract the tarball to /home/user/appliance
and export
2019 Jan 22
4
Fedora 29 guestfish not working
...tput below in your bug report.
*
************************************************************
PATH=/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/us
r/sbin:/home/romain/bin
XDG_RUNTIME_DIR=/run/user/1000
SELinux: Disabled
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_hv: /usr/bin/qemu-kvm
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_sm...
2016 Apr 03
1
vir-filesystems Error
...gs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gamesSELinux: sh: 1: getenforce: not foundguestfs_get_append: (null)guestfs_get_backend: directguestfs_get_autosync: 1guestfs_get_cachedir: /var/tmpguestfs_get_direct: 0guestfs_get_hv: /usr/bin/qemu-system-x86_64guestfs_get_memsize: 500guestfs_get_network: 0guestfs_get_path: /usr/lib/guestfsguestfs_get_pgroup: 0guestfs_get_program: libguestfs-test-toolguestfs_get_recovery_proc: 1guest...
2014 Jun 04
2
Re: libguestfs supermin error
...PLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
SELinux: sh: getenforce: command not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: direct
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/bin/kvm
guestfs_get_memsize: 768
guestfs_get_network: 0
guestfs_get_path: /usr/local/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_pr...
2019 Jan 22
0
Re: Fedora 29 guestfish not working
...t; ************************************************************
> PATH=/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/us
> r/sbin:/home/romain/bin
> XDG_RUNTIME_DIR=/run/user/1000
> SELinux: Disabled
> guestfs_get_append: (null)
> guestfs_get_autosync: 1
> guestfs_get_backend: libvirt
> guestfs_get_backend_settings: []
> guestfs_get_cachedir: /var/tmp
> guestfs_get_hv: /usr/bin/qemu-kvm
> guestfs_get_memsize: 500
> guestfs_get_network: 0
> guestfs_get_path: /usr/lib64/guestfs
> guestfs_get_pgroup: 0
> guestfs_get_program: libguestfs-test-tool
>...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.
2015 Oct 13
1
Help, it's not working!
...lude the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SELinux: sh: 1: getenforce: not found
guestfs_get_append: (null)
guestfs_get_backend: direct
guestfs_get_autosync: 1
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/bin/qemu-system-x86_64
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_pr...
2018 Jun 08
1
Bug report.
SELinux: sh: 1: getenforce: not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: direct
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/bin/qemu-system-x86_64
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/x86_64-linux-gnu/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-to...
2014 Jan 23
0
Re: Errors Running on Ubuntu 13.10
...* output below in your bug report.
> *
> ************************************************************
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> SELinux: sh: 1: getenforce: not found
> library version: 1.22.4
> guestfs_get_append: (null)
> guestfs_get_backend: direct
> guestfs_get_autosync: 1
> guestfs_get_cachedir: /var/tmp
> guestfs_get_direct: 0
> guestfs_get_memsize: 500
> guestfs_get_network: 0
> guestfs_get_path: /usr/lib/guestfs
> guestfs_get_pgroup: 0
> guestfs_get_program: libguestfs-test-tool
> guestfs_get_qemu: /usr...
2020 Jan 08
0
Re: bug report
..._append
> libguestfs: trace: get_append = "NULL"
> guestfs_get_append: (null)
> libguestfs: trace: get_autosync
> libguestfs: trace: get_autosync = 1
> guestfs_get_autosync: 1
> libguestfs: trace: get_backend
> libguestfs: trace: get_backend = "libvirt"
> guestfs_get_backend: libvirt
> libguestfs: trace: get_backend_settings
> libguestfs: trace: get_backend_settings = []
> guestfs_get_backend_settings: []
> libguestfs: trace: get_cachedir
> libguestfs: trace: get_cachedir = "/var/tmp"
> guestfs_get_cachedir: /var/tmp
> libguestfs: trace:...