search for: guestfs_get_memsize

Displaying 20 results from an estimated 87 matches for "guestfs_get_memsize".

2011 Dec 30
3
libguestfs-test-tool say "child process died" on ubuntu 11.10 x64
...ktop:~$ sudo libguestfs-test-tool [sudo] password for xxx: ===== Test starts here ===== LIBGUESTFS_DEBUG=1 TMPDIR=(not set) libguestfs: new guestfs handle 0x16cd0f0 library version: 1.15.11 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/bin/kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. li...
2018 May 16
3
[PATCH] tests: Increase appliance memory when testing 256+ disks.
Currently the tests fail on x86 with recent kernels: FAIL: test-255-disks.sh This confused me for a while because our other test program (utils/max-disks/max-disks.pl) reports that it should be possible to add 255 disks. Well it turns out that the default amount of appliance memory is sufficient if you're just adding disks, but if you try to add _and_ partition those disks there's
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
...achedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/bin/qemu-system-x86_64" guestfs_get_hv: /usr/bin/qemu-system-x86_64 libguestfs: trace: get_memsize libguestfs: trace: get_memsize = 500 guestfs_get_memsize: 500 libguestfs: trace: get_network libguestfs: trace: get_network = 0 guestfs_get_network: 0 libguestfs: trace: get_path libguestfs: trace: get_path = "/share/CACHEDEV1_DATA/appliance" guestfs_get_path: /share/CACHEDEV1_DATA/appliance libguestfs: trace: get_pgroup libguestfs: trace: get_...
2014 Jan 23
2
Errors Running on Ubuntu 13.10
...*************************************** 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_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_g...
2014 Jan 23
3
Re: Errors Running on Ubuntu 13.10
...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_proc: 1 >> guestfs_get_selinux: 0 >> gu...
2018 May 16
0
[PATCH] tests: Increase appliance memory when testing 256+ disks.
...> 0: specific value */ + int m; g = guestfs_create (); if (g == NULL) @@ -158,6 +159,14 @@ main (int argc, char *argv[]) } ndisks = n; + /* Increase memory available to the appliance. On x86 the default + * is not enough to both detect and partition 256 disks. + */ + m = guestfs_get_memsize (g); + if (m == -1 || + guestfs_set_memsize (g, m * 20 / 5) == -1) + error (EXIT_FAILURE, 0, "get or set memsize failed"); + tmpdir = guestfs_get_cachedir (g); if (tmpdir == NULL) exit (EXIT_FAILURE); diff --git a/utils/max-disks/max-disks.pl b/utils/max-disks/max-disk...
2018 May 16
1
Re: [PATCH] tests: Increase appliance memory when testing 256+ disks.
...guestfs_create (); > if (g == NULL) > @@ -158,6 +159,14 @@ main (int argc, char *argv[]) > } > ndisks = n; > > + /* Increase memory available to the appliance. On x86 the default > + * is not enough to both detect and partition 256 disks. > + */ > + m = guestfs_get_memsize (g); > + if (m == -1 || > + guestfs_set_memsize (g, m * 20 / 5) == -1) > + error (EXIT_FAILURE, 0, "get or set memsize failed"); > + > tmpdir = guestfs_get_cachedir (g); > if (tmpdir == NULL) > exit (EXIT_FAILURE); This is OK. > diff --git a/u...
2020 Aug 24
0
Re: Running libguestfs-test-tool problem
..._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-tool > guestfs_get_recovery_proc: 1 > guestfs_get_smp: 1 > guestfs_get_sockdir: /tmp > guestfs_get_tmpdir: /tmp > guestfs_get_trace: 0 > gu...
2013 Nov 22
0
Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
...t; PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > > library version: 1.16.34rhel=6,release=2.el6 > > guestfs_get_append: (null) > > guestfs_get_attach_method: appliance > > guestfs_get_autosync: 1 > > guestfs_get_direct: 0 > > guestfs_get_memsize: 500 > > guestfs_get_network: 0 > > guestfs_get_path: /usr/lib64/guestfs > > guestfs_get_pgroup: 0 > > guestfs_get_qemu: /usr/libexec/qemu-kvm > > guestfs_get_recovery_proc: 1 > > guestfs_get_selinux: 0 > > guestfs_get_smp: 1 > > guestfs_get_t...
2013 Nov 22
1
Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
...here ===== FEBOOTSTRAP_KERNEL=/dev/.initramfs/live/vmlinuz0 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin library version: 1.16.34rhel=6,release=2.el6 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/libexec/qemu-kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout...
2019 Nov 02
4
supermin: failed to find a suitable kernel
...var/tmp libguestfs: trace: get_direct libguestfs: trace: get_direct = 0 guestfs_get_direct: 0 libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/bin/qemu-system-x86_64" guestfs_get_hv: /usr/bin/qemu-system-x86_64 libguestfs: trace: get_memsize libguestfs: trace: get_memsize = 500 guestfs_get_memsize: 500 libguestfs: trace: get_network libguestfs: trace: get_network = 0 guestfs_get_network: 0 libguestfs: trace: get_path libguestfs: trace: get_path = "/usr/lib/x86_64-linux-gnu/guestfs" guestfs_get_path: /usr/lib/x86_64-linux-gnu/guestfs libguestfs: trace: get_pgroup libguestfs: trace:...
2016 Apr 07
2
Help: Is it possible to use libguestfs in Xen guest OS
.../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_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching app...
2012 Jul 25
1
qemu:could not load kernel
...of libguestfs-test-tool: <libguestfs at redhat.com>===== Test starts here ===== LIBGUESTFS_DEBUG=1 TMPDIR=(not set) libguestfs: new guestfs handle 0x9871c80 library version: 1.14.10 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/local/lib/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/bin/kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: i686 Launching appliance, timeout set to 600 seconds...
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
.../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_smp: 1 guestfs_get_sockdir: /run/user/1000 guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64...
2013 Nov 22
0
Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
...******************************* ===== Test starts here ===== PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin library version: 1.16.34rhel=6,release=2.el6 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/libexec/qemu-kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout...
2014 Jun 04
2
Re: libguestfs supermin error
...n:/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_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: powerpc64 Launch...
2019 Jan 22
0
Re: Fedora 29 guestfish not working
...gt; 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_smp: 1 > guestfs_get_sockdir: /run/user/1000 > guestfs_get_tmpdir: /tmp > guestfs_get_trac...
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!
...r/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_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appli...